cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14082) Do not expose compaction strategy index publicly
Date Thu, 30 Nov 2017 13:27:00 GMT


Paulo Motta commented on CASSANDRA-14082:

Currently the scrubber and relocate sstables were relying on the compaction strategy index,
so this patches change these operation to use a {{DiskBoundaries}} object instead and make
{{CSM.getCompactionStrategyIndex}} private.

* [3.11 patch|]

Since this depends on CASSANDRA-13948, I will wait until that is committed before setting
this as PA.

> Do not expose compaction strategy index publicly
> ------------------------------------------------
>                 Key: CASSANDRA-14082
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
> 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}}.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message