Class AutoRepairUtils.SizeEstimate

java.lang.Object
org.apache.cassandra.repair.autorepair.AutoRepairUtils.SizeEstimate
Enclosing class:
AutoRepairUtils

protected static class AutoRepairUtils.SizeEstimate extends Object
Represents a size estimate by both bytes and partition count for a given keyspace and table for a token range.
  • Field Details

    • repairType

      public final AutoRepairConfig.RepairType repairType
    • keyspace

      public final String keyspace
    • table

      public final String table
    • tokenRange

      public final Range<Token> tokenRange
    • partitions

      public final long partitions
    • sizeInRange

      public final long sizeInRange
    • totalSize

      public final long totalSize
    • sizeForRepair

      public final long sizeForRepair
      Size to consider in the repair. For incremental repair, we want to consider the total size of the estimate as we have to factor in anticompacting the entire SSTable. For full repair, just use the size containing the range.
  • Constructor Details

  • Method Details