You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2017/12/22 11:28:00 UTC

[jira] [Commented] (CASSANDRA-14082) Do not expose compaction strategy index publicly

    [ https://issues.apache.org/jira/browse/CASSANDRA-14082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301282#comment-16301282 ] 

Marcus Eriksson commented on CASSANDRA-14082:
---------------------------------------------

+1

> Do not expose compaction strategy index publicly
> ------------------------------------------------
>
>                 Key: CASSANDRA-14082
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14082
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>         Attachments: 3.11-14082-dtest.png, 3.11-14082-testall.png, trunk-14082-dtest.png, trunk-14082-testall.png
>
>
> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org