mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #18717 from sundy-li/hotfix-log
Fix Logger with unmatched arg size
This commit is contained in:
commit
a4f8a5390e
@ -2483,23 +2483,23 @@ void StorageReplicatedMergeTree::cloneReplicaIfNeeded(zkutil::ZooKeeperPtr zooke
|
||||
|
||||
if (get_is_lost.error != Coordination::Error::ZOK)
|
||||
{
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/is_lost': {}", Coordination::errorMessage(get_is_lost.error));
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/is_lost': {}", source_replica_name, Coordination::errorMessage(get_is_lost.error));
|
||||
continue;
|
||||
}
|
||||
else if (get_is_lost.data != "0")
|
||||
{
|
||||
LOG_INFO(log, "Not cloning {}, it's lost");
|
||||
LOG_INFO(log, "Not cloning {}, it's lost", source_replica_name);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (get_log_pointer.error != Coordination::Error::ZOK)
|
||||
{
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/log_pointer': {}", Coordination::errorMessage(get_log_pointer.error));
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/log_pointer': {}", source_replica_name, Coordination::errorMessage(get_log_pointer.error));
|
||||
continue;
|
||||
}
|
||||
if (get_queue.error != Coordination::Error::ZOK)
|
||||
{
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/queue': {}", Coordination::errorMessage(get_queue.error));
|
||||
LOG_INFO(log, "Not cloning {}, cannot get '/queue': {}", source_replica_name, Coordination::errorMessage(get_queue.error));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user