cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7038) Nodetool rebuild_index requires named indexes argument
Date Tue, 22 Apr 2014 04:52:14 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CASSANDRA-7038:
------------------------------------

         Reviewer: Dave Brosius
    Reproduced In: 2.1 beta1, 2.0.6, 1.2.16  (was: 1.2.16, 2.0.6, 2.1 beta1)

> Nodetool rebuild_index requires named indexes argument
> ------------------------------------------------------
>
>                 Key: CASSANDRA-7038
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7038
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Trivial
>         Attachments: 7038-1.2.txt, 7038-2.1.txt
>
>
> In addition to explicitly listing the indexes to be rebuilt, nodetool rebuild_indexes
will also accept just keyspace & columnfamily arguments, indicating that all indexes for
that ks/cf should be rebuilt.
> This doesn't actually work as CFS.rebuildSecondaryIndex requires the explicit list. In
the 2 arg version, nodetool just passes an empty list here and so the rebuild becomes a no-op.
As this has been the case since CASSANDRA-3860 (AFAICT, 80ea03f is the commit that removed
this) we may as well just remove the option from nodetool, patch attached to do that. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message