Skip to content

Replication may stuck due to clearEmptyParts (>=20.12) #23292

@filimonov

Description

@filimonov

Symptoms: all threads in BackgroundScheduledPool busy, lot of tasks in replication queue, none of the tasks is executing.

Screenshot from 2021-04-16 16-21-44_

Related to #16895

Possible workarounds (poor options): increasing the background_schedule_pool_size to huge values, or restart server every time when that happens etc. -

Metadata

Metadata

Assignees

Labels

bugConfirmed user-visible misbehaviour in official releasecomp-replicationReplicatedMergeTree* + replication log/state transitions, eventual consistency mechanics.comp-ttlTTL rules and TTL merges (moving/recompressing/rolling-up/deleting parts).major

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions