Skip to content

Conversation

@JeetKunDoug
Copy link
Contributor

  • update prepare so that it waits for the vnode PID to change as it's
    possible that monitors haven't fired by the time we ask for a new one
  • Update drain to require 3 consecutive 0 counts from a group of PIDs
    rather than draining individual processes or only trying once. The
    number 3 was determined empirically - read the comment above drain
    if it continues to cause issues.
  • Rewrite resume to make sure things are drained properly before
    continuing.

- update `prepare` so that it waits for the vnode PID to change as it's
  possible that monitors haven't fired by the time we ask for a new one
- Update `drain` to require 3 consecutive 0 counts from a group of PIDs
  rather than draining individual processes or only trying once. The
  number 3 was determined empirically - read the comment above `drain`
  if it continues to cause issues.
- Rewrite `resume` to make sure things are drained properly before
  continuing.
@jonmeredith
Copy link
Contributor

+1 9551318

JeetKunDoug added a commit that referenced this pull request Dec 1, 2015
…_2.0

Update proxy_overload_recovery to handle indeterminism more gracefully.
@JeetKunDoug JeetKunDoug merged commit 8a6ba3f into riak/2.0 Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants