Fix digest check in replicated ddl worker

This commit is contained in:
Sergei Trifonov 2023-10-20 18:03:16 +02:00 committed by GitHub
parent 6a37546a6f
commit fd93bc74bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ void DatabaseReplicatedDDLWorker::initializeReplication()
}
std::lock_guard lock{database->metadata_mutex};
if (!database->checkDigestValid(context))
if (!database->checkDigestValid(context, false))
throw Exception(ErrorCodes::LOGICAL_ERROR, "Inconsistent database metadata after reconnection to ZooKeeper");
}