mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
fix compilation error
This commit is contained in:
parent
c4584b5638
commit
f6f33168aa
@ -246,9 +246,9 @@ void ReplicatedMergeTreeRestartingThread::updateQuorumIfWeHavePart()
|
|||||||
{
|
{
|
||||||
ReplicatedMergeTreeQuorumEntry quorum_entry(quorum_str);
|
ReplicatedMergeTreeQuorumEntry quorum_entry(quorum_str);
|
||||||
if (!quorum_entry.replicas.count(storage.replica_name)
|
if (!quorum_entry.replicas.count(storage.replica_name)
|
||||||
&& storage.getActiveContainingPart(part_name)))
|
&& storage.getActiveContainingPart(part_name))
|
||||||
{
|
{
|
||||||
LOG_WARNING(log, "We have part {} but we is not in quorum. Updating quorum. This shouldn't happen often.", partition);
|
LOG_WARNING(log, "We have part {} but we is not in quorum. Updating quorum. This shouldn't happen often.", part_name);
|
||||||
storage.updateQuorum(part_name, true);
|
storage.updateQuorum(part_name, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user