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

MultiDcSplitBrainSpec: Turn on gossip loggig; Increase gossip frequency #24024

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

chbatey
Copy link
Member

@chbatey chbatey commented Nov 20, 2017

The last time this failed there was no gossip to or from a node that
didn't see fifth coming back.

Turning on gossip logging to see what is going on as well as increasing the gossip frequency.

Also note that this test doesn't quite test what it says as the split
brain is repaired before starting the second actor system but without
extensions to the multi jvm test kit this can't be improved.

Refs #23306

The last time this failed there was no gossip to or from a node that
didn't see fifth coming back.

Also note that this test doesn't quite test what it says as the split
brain is repaired before starting the second actor system but without
extensions to the multi jvm test kit this can't be improved.

Refs akka#23306
@@ -69,8 +70,8 @@ abstract class MultiDcSplitBrainSpec
val dc2 = List(third, fourth, fifth)
var barrierCounter = 0

def splitDataCenters(notMembers: Set[RoleName]): Unit = {
val memberNodes = (dc1 ++ dc2).filterNot(notMembers)
def splitDataCenters(doNotVerify: Set[RoleName]): Unit = {
Copy link
Member Author

Choose a reason for hiding this comment

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

Before i looked at this code i thought the nodes passed in weren't split

Copy link
Member

Choose a reason for hiding this comment

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

Good rename

@akka-ci akka-ci added the validating PR is currently being validated by Jenkins label Nov 20, 2017
@chbatey
Copy link
Member Author

chbatey commented Nov 20, 2017

I spent quite some time re-writing this test to make it have a network partition during the start up of the second actor system on fifth but i don't think it is possible with the current multi jvm test kit

@akka-ci akka-ci added tested PR that was successfully built and tested by Jenkins and removed validating PR is currently being validated by Jenkins labels Nov 20, 2017
@akka-ci
Copy link

akka-ci commented Nov 20, 2017

Test PASSed.

@@ -69,8 +70,8 @@ abstract class MultiDcSplitBrainSpec
val dc2 = List(third, fourth, fifth)
var barrierCounter = 0

def splitDataCenters(notMembers: Set[RoleName]): Unit = {
val memberNodes = (dc1 ++ dc2).filterNot(notMembers)
def splitDataCenters(doNotVerify: Set[RoleName]): Unit = {
Copy link
Member

Choose a reason for hiding this comment

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

Good rename

Copy link
Member

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

LGTM, looks good

@ktoso ktoso merged commit 3bd05ce into akka:master Dec 14, 2017
Sebruck pushed a commit to Sebruck/akka that referenced this pull request Dec 15, 2017
…cy (akka#24024)

The last time this failed there was no gossip to or from a node that
didn't see fifth coming back.

Also note that this test doesn't quite test what it says as the split
brain is repaired before starting the second actor system but without
extensions to the multi jvm test kit this can't be improved.

Refs akka#23306
manonthegithub pushed a commit to manonthegithub/akka that referenced this pull request Jan 31, 2018
…cy (akka#24024)

The last time this failed there was no gossip to or from a node that
didn't see fifth coming back.

Also note that this test doesn't quite test what it says as the split
brain is repaired before starting the second actor system but without
extensions to the multi jvm test kit this can't be improved.

Refs akka#23306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested PR that was successfully built and tested by Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants