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

Clean up isMarkedForDelete / getLocalDeletionTime

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.0
    • None

    Description

      As explained in CASSANDRA-3579, isMarkedForDelete() depends on the current system clock so it can change during a two-pass compaction. Suggested fix is to replace iMFD + gLDT with a getExpirationTime method, so comparison with the compaction's gcBefore will remain constant.

      Attachments

        1. 3716.patch
          7 kB
          Sylvain Lebresne

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: