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

Possible assertion triggered in SliceFromReadCommand

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.11
    • None
    • None
    • Low

    Description

      In SliceFromReadCommand.maybeGenerateRetryCommand, the following assertion

      assert maxLiveColumns <= count;
      

      may actually fail. Namely, it asserts that no node has returned more columns that what was asked for, which in general is true, but can not be if an expiring column is counted as dead by the replica (but still send as a tombstone) but, due to clock difference, is actually counted live by the coordinator.

      I note that this is similar to CASSANDRA-5149 in that fixing CASSANDRA-5149 would fix this too, but in the meantime, this edge case is harmless so there is probably not much point in keeping the assertion.

      Attachments

        1. 5284.txt
          1 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: