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

Null pointer exception in custom secondary indexes

    XMLWordPrintableJSON

Details

    • Low

    Description

      StorageProxy#estimateResultRowsPerRange raises a null pointer exception when using a custom 2i implementation that not uses a column family as underlying storage:

      resultRowsPerRange = highestSelectivityIndex.getIndexCfs().getMeanColumns();
      

      According to the documentation, the method SecondaryIndex#getIndexCfs should return null when no column family is used.

      Attachments

        1. CASSANDRA-6498.patch
          2 kB
          Miguel Angel Fernandez Diaz

        Activity

          People

            mafernandez Miguel Angel Fernandez Diaz
            adelapena Andres de la Peña
            Miguel Angel Fernandez Diaz
            Sam Tunnicliffe
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: