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

Handle zero index searchers in StorageProxy#estimateResultRowsPerRange()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 rc6
    • None
    • None
    • Normal

    Description

      CASSANDRA-7525 has broken Thrift's ability to filter based on arbitrary columns, even those without a secondary index defined.

      Two of the thrift tests are broken because of this:

      Both trigger this assert: https://github.com/apache/cassandra/blob/cassandra-2.1.0/src/java/org/apache/cassandra/service/StorageProxy.java#L1457

      This is not a path reachable via CQL3 yet (until/if we further extend ALLOW FILTERING power), but it can be legally reached via Thrift, and should handle the possibility.

      Attachments

        1. 7741.txt
          4 kB
          Sam Tunnicliffe

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              aleksey Aleksey Yeschenko
              Sam Tunnicliffe
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: