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

Attempt fix for ClusterManager#startCluster() race #8760

Merged
merged 1 commit into from Feb 7, 2017

Conversation

tinwelint
Copy link
Member

A race where the normal methods like allSeesAllAsAvailable()
would sometimes return true if there were no db started yet and therefore
return prematurely. The test would then continue and request a db
with a certain role, wouldn't find it and would fail because of it.

This issue wasn't observed locally when coming up with the fix, but based
on the logs on existing failing builds it looked like this could be the cause.

A race where the normal methods like allSeesAllAsAvailable()
would sometimes return true if there were no db started yet and therefore
return prematurely. The test would then continue and request a db
with a certain role, wouldn't find it and would fail because of it.

This issue wasn't observed locally when coming up with the fix, but based
on the logs on existing failing builds it looked like this could be the cause.
@burqen burqen merged commit 6579684 into neo4j:3.2 Feb 7, 2017
@chrisvest chrisvest deleted the 3.2-cluster-manager-check-race branch February 22, 2017 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants