This commit is contained in:
Miсhael Stetsyuk 2024-09-16 21:28:20 +08:00 committed by GitHub
commit bc069bd528
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@
#include <Common/ZooKeeper/KeeperException.h> #include <Common/ZooKeeper/KeeperException.h>
#include <Core/ServerUUID.h> #include <Core/ServerUUID.h>
#include <Core/Settings.h> #include <Core/Settings.h>
#include <base/sleep.h>
#include <filesystem> #include <filesystem>
namespace fs = std::filesystem; namespace fs = std::filesystem;
@ -249,6 +250,8 @@ String DatabaseReplicatedDDLWorker::enqueueQueryImpl(const ZooKeeperPtr & zookee
} }
else if (code != Coordination::Error::ZNODEEXISTS) else if (code != Coordination::Error::ZNODEEXISTS)
zkutil::KeeperMultiException::check(code, ops, res); zkutil::KeeperMultiException::check(code, ops, res);
sleepForMilliseconds(50);
} }
if (counter_path.empty()) if (counter_path.empty())