mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #59735 from ClickHouse/tavplubix-patch-13
Make ZooKeeper actually sequentialy consistent
This commit is contained in:
commit
61a5696ce9
@ -401,6 +401,9 @@ ZooKeeper::ZooKeeper(
|
||||
keeper_feature_flags.logFlags(log);
|
||||
|
||||
ProfileEvents::increment(ProfileEvents::ZooKeeperInit);
|
||||
|
||||
/// Avoid stale reads after connecting
|
||||
sync("/", [](const SyncResponse &){});
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user