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

Index rebuild should remove old index rows with higher timestamp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0.0, 4.14.3
    • 4.16.0
    • None
    • None

    Description

      During the upgrade of index tables from the old design to the new design, we rebuild the index table rows online. Rebuilding index table rows using the new design is supposed to be overwriting the old index rows. Due to a bug in the old implementation of the index tool (fixed by PHOENIX-5018), the old index row likely have higher timestamps than their data table rows. Since the current implementation of the index tool correctly sets the index row timestamps using the data table row timestamps, newly rebuilt index rows become older versions of the old index rows. So, essentially they do not overwrite old index rows. This does not cause correctness issue as the old rows are repaired by the read repair feature of the new design but increases the number of read repair operations, and thus, causes performance issues.

      Attachments

        1. PHOENIX-5957.4.x.001.patch
          37 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kozdemir Kadir OZDEMIR
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m