Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14082

Do not expose compaction strategy index publicly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.11.2, 4.0, 4.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      Before CASSANDRA-13215 we used the compaction strategy index to decide which disk to place a given sstable, but now we can get this directly from the disk boundary manager and keep the compaction strategy index internal only.

      This will ensure external consumers will use a consistent DiskBoundaries object to perform operations on multiple disks, rather than risking getting inconsistent indexes if the compaction strategy indexes change between successive calls to CSM.getCompactionStrategyIndex.

        Attachments

        1. 3.11-14082-dtest.png
          65 kB
          Paulo Motta (Deprecated)
        2. trunk-14082-dtest.png
          93 kB
          Paulo Motta (Deprecated)
        3. trunk-14082-testall.png
          38 kB
          Paulo Motta (Deprecated)
        4. 3.11-14082-testall.png
          21 kB
          Paulo Motta (Deprecated)

          Issue Links

            Activity

              People

              • Assignee:
                pauloricardomg Paulo Motta (Deprecated)
                Reporter:
                pauloricardomg Paulo Motta (Deprecated)
                Authors:
                Paulo Motta (Deprecated)
                Reviewers:
                Marcus Eriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: