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

Mixed single-column and multi-column clustering restrictions are not merged correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • CQL/Interpreter
    • None
    • All
    • None

    Description

      During working on CEP-29, I found that single-column and multi-column clustering restrictions are not merged correctly and cause query failures or incorrect results.

      The algorithm used in RestrictionSet.mergeRestrictions is incorrect, as its results depend on the (undefined) order of restrictions in a hashset.
      In more complex scenarios, when there are more restrictions to merge, the algorithm results can even differ between the test runs.

      Attachments

        Activity

          People

            pkolaczk Piotr Kolaczkowski
            pkolaczk Piotr Kolaczkowski
            Piotr Kolaczkowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: