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

upgradesstables causes NPE for secondary indexes without an underlying column family

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.16, 2.0.6
    • Feature/2i Index
    • None
    • Normal

    Description

      SecondaryIndex#getIndexCfs is allowed to return null by contract, if the index is not backed by a column family, but this causes an NPE as StorageService#getValidColumnFamilies and StorageService#upgradeSSTables do not check for null values.

      Attachments

        1. CASSANDRA-6645.patch
          5 kB
          Sergio Bossa
        2. CASSANDRA-6645-1_2.patch
          5 kB
          Sergio Bossa

        Activity

          People

            sbtourist Sergio Bossa
            sbtourist Sergio Bossa
            Sergio Bossa
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: