Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7038

Nodetool rebuild_index requires named indexes argument

    XMLWordPrintableJSON

Details

    • Low

    Description

      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.

      Attachments

        1. 7038-2.1.txt
          2 kB
          Sam Tunnicliffe
        2. 7038-1.2.txt
          2 kB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: