Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store: refine the error handling and retry mechanism for stale read #24956

Merged
merged 18 commits into from
Jun 3, 2021

Commits on Jun 2, 2021

  1. Retry the leader or next peer on the Stale Read error

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    83b39ea View commit details
    Browse the repository at this point in the history
  2. Unifying the behavior of StoreSelectorOption

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    b5ad9ef View commit details
    Browse the repository at this point in the history
  3. Add RegionNotInitialized error handling

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    eb9be91 View commit details
    Browse the repository at this point in the history
  4. Not send a read request to any learner peer

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    c597221 View commit details
    Browse the repository at this point in the history
  5. Address the comments

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    e0d2e59 View commit details
    Browse the repository at this point in the history
  6. Fix the panic

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    f881d3c View commit details
    Browse the repository at this point in the history
  7. Fix the panic

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    fe99fe4 View commit details
    Browse the repository at this point in the history
  8. Add the stale read retry test

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    2d7bd46 View commit details
    Browse the repository at this point in the history
  9. Address the comments

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    aa554ca View commit details
    Browse the repository at this point in the history
  10. Refine the code

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    f7d4718 View commit details
    Browse the repository at this point in the history
  11. Use seed to try on different peers

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    884d469 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Refine the faillback strategy

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    6e38791 View commit details
    Browse the repository at this point in the history
  2. Refine the test

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    ce07699 View commit details
    Browse the repository at this point in the history
  3. Refine the code

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    5808577 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a382034 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c870d80 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    662dfc9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    932d95a View commit details
    Browse the repository at this point in the history