Package org.apache.cassandra.metrics
Class TopPartitionTracker
java.lang.Object
org.apache.cassandra.metrics.TopPartitionTracker
- All Implemented Interfaces:
Closeable,AutoCloseable
Tracks top partitions, currently by size and by tombstone count
Collects during full and preview (-vd) repair since then we read the full partition
Note that since we can run sub range repair there might be windows where the top partitions are not correct -
for example, assume we track the top 2 partitions for this node:
tokens with size:
(a, 100); (b, 40); (c, 10); (d, 100); (e, 50); (f, 10)
- top2: a, d
now a is deleted and we run a repair for keys [a, c]
- top2: b, d
and when we repair [d, f]
- top2: d, e
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TopPartitionTracker
-
-
Method Details