我在这个集群上遇到了标题中的场景:
这是事件的顺序:
OPTIMIZE TABLE .... PARTITION .... FINAL在每个分片的一个节点上执行了一次。该分区相当大 (120Gb),因此该过程将花费超过一小时的时间。90-20220530_0_1210623_1731部分确实被 OPTIMIZE 语句生成的合并所覆盖SELECT
replica_name,
postpone_reason,
type
FROM system.replication_queue
Run Code Online (Sandbox Code Playgroud)
(已格式化)
replica_name: snuba-errors-tiger-4-4
postpone_reason: Not executing log entry queue-0055035589 for part 90-20220530_0_1210420_1730 because it is covered by part 90-20220530_0_1210623_1731 that is currently executing.
type: GET_PART
replica_name: snuba-errors-tiger-4-4
postpone_reason: Not executing log entry queue-0055035590 for part 90-20220530_1210421_1210598_37 because …Run Code Online (Sandbox Code Playgroud) clickhouse ×1