-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Some merges may stuck #10368
Copy link
Copy link
Closed
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-replicationReplicatedMergeTree* + replication log/state transitions, eventual consistency mechanics.ReplicatedMergeTree* + replication log/state transitions, eventual consistency mechanics.
Metadata
Metadata
Assignees
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-replicationReplicatedMergeTree* + replication log/state transitions, eventual consistency mechanics.ReplicatedMergeTree* + replication log/state transitions, eventual consistency mechanics.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This bug is discovered on Yandex.Metrica servers.
If there is assigned merge but some parts in between of the range of parts to merge get lost on all replicas, the merge cannot proceed and the following messages will be printed in log:
And in system.replication_log you will see the following entries:
Actually this logic exists as a safety measure when automated action is not possible: #1251
And it's unclear how to fix it in code.