ClickHouse/tests/queries/0_stateless/02340_parts_refcnt_mergetree.reference
Azat Khuzhin 61a2613127 Fix refcnt for unused MergeTree parts in SELECT queries
Before this patch SELECT queries hold parts even if they were not
required by select (had been eliminated by partition pruning).

This defers removing parts if you have long running queries.

This had been introduced in #23932, with introduction of
StorageSnapshotPtr.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-08 07:04:53 +03:00

3 lines
46 B
Plaintext

data_02340 1_2_2_0 5
data_02340_rep 1_0_0_0 5