Update DDLTask.cpp

This commit is contained in:
Alexander Tokmakov 2023-11-29 19:51:32 +01:00 committed by GitHub
parent a2dc2d9a53
commit a8ed97ac39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,6 @@ bool DDLTask::findCurrentHostID(ContextPtr global_context, Poco::Logger * log, c
if (!host_in_hostlist && first_exception)
{
String reason;
if (zookeeper->exists(getFinishedNodePath()))
{
LOG_WARNING(log, "Failed to find current host ID, but assuming that {} is finished because {} exists. Skipping the task. Error: {}",