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

AbstractBounds.normalize should deal with overlapping ranges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.0
    • None
    • None

    Description

      Apparently no consumers have encountered it in production, but AbstractBounds.normalize does not handle overlapping ranges. If given overlapping ranges, the output will be sorted but still overlapping, for which SSTableReader.getPositionsForRanges will choose ranges in an SSTable that may overlap.

      We should either add an assert in normalize(), or in getPositionsForRanges() to ensure that this never bites us in production.

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            stuhood Stu Hood
            Sylvain Lebresne
            Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: