Class ActiveRepairService.ParentRepairSession

  • Enclosing class:
    ActiveRepairService

    public static class ActiveRepairService.ParentRepairSession
    extends java.lang.Object
    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 Detail

      • isIncremental

        public final boolean isIncremental
      • isGlobal

        public final boolean isGlobal
      • repairedAt

        public final long repairedAt
      • hasSnapshots

        public final java.util.concurrent.atomic.AtomicBoolean hasSnapshots
    • Constructor Detail

    • Method Detail

      • isPreview

        public boolean isPreview()
      • getColumnFamilyStores

        public java.util.Collection<ColumnFamilyStore> getColumnFamilyStores()
      • getKeyspace

        public Keyspace getKeyspace()
      • getTableIds

        public java.util.Set<TableId> getTableIds()
      • getRanges

        public java.util.Set<Range<Token>> getRanges()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setHasSnapshots

        public boolean setHasSnapshots()