Merge pull request #59735 from ClickHouse/tavplubix-patch-13

Make ZooKeeper actually sequentialy consistent
This commit is contained in:
Alexey Milovidov 2024-02-12 04:41:35 +01:00 committed by GitHub
commit 61a5696ce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,6 +401,9 @@ ZooKeeper::ZooKeeper(
keeper_feature_flags.logFlags(log);
ProfileEvents::increment(ProfileEvents::ZooKeeperInit);
/// Avoid stale reads after connecting
sync("/", [](const SyncResponse &){});
}
catch (...)
{