Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.14
    • None
    • Improved `--consistency repair` command of the control.sh utility; atomic caches can now be repaired by Read Repair
    • Docs Required, Release Notes Required

    Description

      It's pretty clear that it's impossible to fix atomics with "Read Repair" atomically since it's impossible to lock entries during the repair process.
      Even get from backups has no guarantee to return consistent values under load.
      But to fix we must also perform an additional step - cache put.
      So, value can be changed between gets, can be changed after gets but before put, but it still seems to be possible to automize the fix.

      Idea is to decide what entry won on the last check attempt and put this value using the entry processor.
      During the entry processor execution, we should check the current node's value, and if the value is as it was during the check we must replace it with the consistent value.

      Attachments

        Issue Links

          Activity

            People

              av Anton Vinogradov
              av Anton Vinogradov
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 4.5h
                  4.5h