Describe the bug
Only drop single partition is dropped per merge_with_ttl_timeout period. Other expired partitions stays there.
How to reproduce
Expected behavior
It should drop whole expired parts once it checks for TTL.
Additional context
As workaround 'ALTER TABLE events MATERIALIZE TTL' command is run, it triggers to remove parts.
It needs to apply TTL to ALL parts of all partitions.
It seems TTL drops only one PART per merge_with_ttl_timeout.
Any update on this?
@jondeandres , this is scheduled for development already. Should be fixed fairly soon. For now just set merge_with_ttl_timeout to some smaller value, like 1800.
Fixed in #12548