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

Fix error during Ringpop refresh #802

Merged
merged 3 commits into from
May 30, 2018
Merged

Fix error during Ringpop refresh #802

merged 3 commits into from
May 30, 2018

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented May 30, 2018

This fix #737 which is bothering us in Travis long time since TestIntegrationCrossDCSuite was added.

The root cause is:
During stop process of cadence server, it could stop ringpop at the time there are other go routines call refresh (which need ringpop be alive). Because TestIntegrationCrossDCSuite start/stop cadence server for each test case, it exposes this issue more frequently than previously.

This fix by switching from log.Fatal to log.Warn is safe.
(Another fix would be change the stop process to wait before stop ringpop, but it will be flaky and slow down our tests, so not used.)

@vancexu vancexu changed the title Ringpop Fix error during Ringpop refresh May 30, 2018
@vancexu vancexu merged commit dd00c27 into master May 30, 2018
@vancexu vancexu deleted the ringpop branch May 30, 2018 22:47
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.

Ringpop bootstrap errors during initialize
2 participants