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

Cleaner interrupt handling during cancellation #9000

Closed
wants to merge 2 commits into from

Commits on Dec 18, 2014

  1. Recovery: cleaner interrupt handling during cancellation

    RecoveryTarget initiates the recovery by sending a start recovery request to the source node and then waits for the recovery to complete. During recovery cancellation, we interrupt the thread so it will wake up and clean the recovery. Depending on timing, this can leave an unneeded interrupted thread status causing future IO commands to fail unneeded.
    
    RecoverySource already had a handy utility called CancelableThreads. This extracts it to a top level class, and uses it in RecoveryTarget as well.
    bleskes committed Dec 18, 2014
    Copy the full SHA
    4bdec63 View commit details
    Browse the repository at this point in the history
  2. feedback

    bleskes committed Dec 18, 2014
    Copy the full SHA
    401c8a2 View commit details
    Browse the repository at this point in the history