diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-30 09:51:21 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-30 10:08:27 +0300 |
commit | 468826fff1465595d80da778532b253674e1e1c3 (patch) | |
tree | 55979be8d30470ec46d845bb5d2270a11847d186 /contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h | |
parent | 98ecc8deb38724114150e3758b86eb79dc9f12a9 (diff) | |
download | ydb-468826fff1465595d80da778532b253674e1e1c3.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h')
-rw-r--r-- | contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h b/contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h index 794991d8e0..33acf5af83 100644 --- a/contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h +++ b/contrib/clickhouse/src/Storages/StorageReplicatedMergeTree.h @@ -427,10 +427,7 @@ private: /// If false - ZooKeeper is available, but there is no table metadata. It's safe to drop table in this case. std::optional<bool> has_metadata_in_zookeeper; - /// during server restart or attach table process, set since_metadata_err_incr_readonly_metric = true and increase readonly metric if has_metadata_in_zookeeper = false. - /// during detach or drop table process, decrease readonly metric if since_metadata_err_incr_readonly_metric = true. - /// during restore replica process, set since_metadata_err_incr_readonly_metric = false and decrease readonly metric if since_metadata_err_incr_readonly_metric = true. - bool since_metadata_err_incr_readonly_metric = false; + bool is_readonly_metric_set = false; static const String default_zookeeper_name; const String zookeeper_name; |