mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Allow buckets without List access
This commit is contained in:
parent
2043791ed7
commit
f11b90e7bb
@ -829,8 +829,13 @@ void StorageMergeTree::loadDeduplicationLog()
|
||||
|
||||
auto disk = getDisks()[0];
|
||||
std::string path = fs::path(relative_data_path) / "deduplication_logs";
|
||||
deduplication_log = std::make_unique<MergeTreeDeduplicationLog>(path, settings->non_replicated_deduplication_window, format_version, disk);
|
||||
deduplication_log->load();
|
||||
|
||||
/// If either there is already a deduplication log, or we will be able to use it.
|
||||
if (disk->exists(path) || !disk->isReadOnly())
|
||||
{
|
||||
deduplication_log = std::make_unique<MergeTreeDeduplicationLog>(path, settings->non_replicated_deduplication_window, format_version, disk);
|
||||
deduplication_log->load();
|
||||
}
|
||||
}
|
||||
|
||||
void StorageMergeTree::loadMutations()
|
||||
|
Loading…
Reference in New Issue
Block a user