[
https://issues.apache.org/jira/browse/CASSANDRA-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743946#comment-14743946
]
Sergio Bossa commented on CASSANDRA-10312:
------------------------------------------
[~beobal], I would make it more general (and readable) by renaming the boolean
method something as {{Index#shouldBuildIndexBlocking}}, and calling it from all
{{SIM#buildIndexBlocking/buildAllIndexesBlocking/rebuildIndexesBlocking}}
methods. But this is a minor point, other than that I'm +1.
> Enable custom 2i to opt out of post-streaming rebuilds
> ------------------------------------------------------
>
> Key: CASSANDRA-10312
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10312
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Sam Tunnicliffe
> Assignee: Sam Tunnicliffe
> Fix For: 3.0.0 rc1
>
>
> Custom 2i implementations may not always want to participate in index rebuild
> following streaming operations, as they may prefer to have more control over
> when and how the recieved sstables are indexed.
> We could add an {{includeInRebuild()}} method to {{Index}} which would be
> used to filter the set of indexes built in
> {{SecondaryIndexManager#buildAllIndexesBlocking}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)