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

Sergio Bossa commented on CASSANDRA-10595:
------------------------------------------

The patch looks good, I have only one concern: there's some mixed usage of 
{{Index#getIndexName()}} and {{IndexMetadata#name}}, which are apparently 
assumed to be the same but there's no actual "constraint" about that API-wise, 
so wouldn't it be better to just drop the former?

> Don't initialize un-registered indexes
> --------------------------------------
>
>                 Key: CASSANDRA-10595
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10595
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> If a secondary index implementation chooses not to register with 
> {{SecondaryIndexManager}} on a particular node, it won't be required to 
> provide either {{Indexer}} or {{Searcher}} instances. In this case, 
> initialization is unnecessary so we should avoid doing it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to