Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5505

Index read repair does not repair unverified rows with higher timestamp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0, 4.15.0, 4.14.3
    • 4.15.0, 5.1.0, 4.14.3
    • None
    • None

    Description

      Read repair (GlobalIndexChecker) sets the time range for the scan on the data table for using the timestamp of the index table row to be repaired. The start time for the scan is the timestamp of the index row in the current implementation. However, if the index row timestamp is higher than the data table row timestamp, then the data table row will not be visible to the scan. The index row timestamp can be higher when the index row is overwritten with the unverified row status (in the first write phase) but the data table row is not overwritten (in the second write phase) due to a failure. In this case, the unverified index row will not be rebuilt and will be deleted eventually.

      Attachments

        1. PHOENIX-5505.master.001.patch
          11 kB
          Kadir Ozdemir
        2. PHOENIX-5505.master.002.patch
          21 kB
          Kadir Ozdemir
        3. PHOENIX-5505.master.003.patch
          27 kB
          Kadir Ozdemir
        4. PHOENIX-5505.master.004.patch
          26 kB
          Kadir OZDEMIR
        5. PHOENIX-5505.master.addendum.patch
          12 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kadir Kadir Ozdemir
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 10m
                  4h 10m