提交 73c9f0e7 编写于 作者: A alesapin

Remove redundant code

上级 f168977b
......@@ -4592,11 +4592,6 @@ void StorageReplicatedMergeTree::mutate(const MutationCommands & commands, const
/// we have to wait
if (query_context.getSettingsRef().mutations_sync != 0)
{
auto check_callback = [mutation_number = entry.znode_name](const String & zk_value)
{
return zk_value >= mutation_number;
};
Strings replicas;
if (query_context.getSettingsRef().mutations_sync == 2) /// wait for all replicas
replicas = getZooKeeper()->getChildren(zookeeper_path + "/replicas");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册