This commit is contained in:
Alexander Tokmakov 2021-08-03 16:28:03 +03:00
parent dc57254982
commit ff2572c243

View File

@ -525,7 +525,7 @@ void DatabaseReplicated::recoverLostReplica(const ZooKeeperPtr & current_zookeep
query_context->getClientInfo().is_replicated_database_internal = true; query_context->getClientInfo().is_replicated_database_internal = true;
query_context->setCurrentDatabase(database_name); query_context->setCurrentDatabase(database_name);
query_context->setCurrentQueryId(""); query_context->setCurrentQueryId("");
auto txn = std::make_shared<ZooKeeperMetadataTransaction>(current_zookeeper, zookeeper_path, false); auto txn = std::make_shared<ZooKeeperMetadataTransaction>(current_zookeeper, zookeeper_path, false, "");
query_context->initZooKeeperMetadataTransaction(txn); query_context->initZooKeeperMetadataTransaction(txn);
return query_context; return query_context;
}; };