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

[Zen2] Fix bugs in fixLag() #34346

Merged

Conversation

DaveCTurner
Copy link
Contributor

The hack to work around lag detection had some issues:

  • it always called runFor(), even if no lag was detected
  • it looked at the last-accepted state not the last-applied state, so missed
    some lag situations.

This fixes these issues.

The hack to work around lag detection had some issues:
- it always called runFor(), even if no lag was detected
- it looked at the last-accepted state not the last-applied state, so missed
  some lag situations.

This fixes these issues.
@DaveCTurner DaveCTurner added >bug >test Issues or PRs that are addressing/adding tests v7.0.0 :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. labels Oct 8, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@ywelsch ywelsch mentioned this pull request Oct 8, 2018
61 tasks
@DaveCTurner
Copy link
Contributor Author

@elasticmachine test this please

@DaveCTurner
Copy link
Contributor Author

There was a CI wobble which I suspect to have caused the packaging sample tests to fail. @elasticmachine run sample packaging tests please.

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@DaveCTurner DaveCTurner merged commit ac99d1d into elastic:zen2 Oct 8, 2018
@DaveCTurner DaveCTurner deleted the 2018-10-07-fix-lag-detection-hack branch October 8, 2018 10:33
@jimczi jimczi added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >test Issues or PRs that are addressing/adding tests v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants