Package org.apache.cassandra.service
Class ActiveRepairService.ParentRepairSession
java.lang.Object
org.apache.cassandra.service.ActiveRepairService.ParentRepairSession
- Enclosing class:
- ActiveRepairService
We keep a ParentRepairSession around for the duration of the entire repair, for example, on a 256 token vnode rf=3 cluster
we would have 768 RepairSession but only one ParentRepairSession. We use the PRS to avoid anticompacting the sstables
768 times, instead we take all repaired ranges at the end of the repair and anticompact once.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal InetAddressAndPortfinal AtomicBooleanfinal booleanfinal booleanfinal PreviewKindfinal long -
Constructor Summary
ConstructorsConstructorDescriptionParentRepairSession(InetAddressAndPort coordinator, List<ColumnFamilyStore> columnFamilyStores, Collection<Range<Token>> ranges, boolean isIncremental, long repairedAt, boolean isGlobal, PreviewKind previewKind) -
Method Summary
-
Field Details
-
isIncremental
public final boolean isIncremental -
isGlobal
public final boolean isGlobal -
repairedAt
public final long repairedAt -
coordinator
-
previewKind
-
hasSnapshots
-
-
Constructor Details
-
ParentRepairSession
public ParentRepairSession(InetAddressAndPort coordinator, List<ColumnFamilyStore> columnFamilyStores, Collection<Range<Token>> ranges, boolean isIncremental, long repairedAt, boolean isGlobal, PreviewKind previewKind)
-
-
Method Details