(почти 5k!) и теперь пробую DROP/DETACH PARTITION — обе команды не дают эффект, парты по-прежнему active=1. Как быть, чем помочь кластеру?
set send_logs_level='trace'; и повторить команду
{457d5249-5db9-479f-b528-2d139ee7ab2b} <Debug> executeQuery: (from [::1]:60980, user: administrator) ALTER TABLE db1.clicks DROP PARTITION 21060207 {457d5249-5db9-479f-b528-2d139ee7ab2b} <Trace> AccessRightsContext (administrator): Access granted: DELETE ON db1.clicks {457d5249-5db9-479f-b528-2d139ee7ab2b} <Trace> Connection (db02:9000): Connecting. Database: mediation. User: replicator {457d5249-5db9-479f-b528-2d139ee7ab2b} <Trace> Connection (db02:9000): Connected to ClickHouse server version 20.3.9. {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> executeQuery: (from 10.128.102.129:57190, user: replicator) ALTER TABLE db1.clicks DROP PARTITION 21060207 {5760d0f2-3782-4b11-9abb-183354fa6d98} <Trace> AccessRightsContext (replicator): Access granted: DELETE ON db1.clicks {5760d0f2-3782-4b11-9abb-183354fa6d98} <Trace> db1.clicks: Deleted 0 deduplication block IDs in partition ID 19700901 {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> db1.clicks: Disabled merges covered by range 19700901_0_375_999999999 {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> db1.clicks: Waiting for db02 to pull log-0069944356 to queue {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> db1.clicks: Looking for node corresponding to log-0069944356 in db02 queue {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> db1.clicks: No corresponding node found. Assuming it has been already processed. Found 0 nodes. {5760d0f2-3782-4b11-9abb-183354fa6d98} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B. {457d5249-5db9-479f-b528-2d139ee7ab2b} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B.
и всё остаётся как было, висит в списке active
Обсуждают сегодня