Skip to content

Conversation

@oranagra
Copy link
Member

this test which has coverage for varoius flows of diskless master was
failing randomly from time to time.

the failure was:

[err]: diskless all replicas drop during rdb pipe in tests/integration/replication.tcl
log message of '*Diskless rdb transfer, last replica dropped, killing fork child*' not found

what seemed to have happened is that the master didn't detect that all
replicas dropped by the time the replication ended, it thought that one
replica is still connected.

now the test takes a few seconds longer but it seems stable.

this test which has coverage for varoius flows of diskless master was
failing randomly from time to time.

the failure was:
[err]: diskless all replicas drop during rdb pipe in tests/integration/replication.tcl
log message of '*Diskless rdb transfer, last replica dropped, killing fork child*' not found

what seemed to have happened is that the master didn't detect that all
replicas dropped by the time the replication ended, it thought that one
replica is still connected.

now the test takes a few seconds longer but it seems stable.
@antirez antirez merged commit b726d64 into redis:unstable May 12, 2020
@antirez
Copy link
Contributor

antirez commented May 12, 2020

Thank you @oranagra

JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request May 15, 2020
@oranagra
Copy link
Member Author

looks like this broke the daily valgrind runs. need to look into it.

@antirez
Copy link
Contributor

antirez commented May 17, 2020

@oranagra well always broken for me in the CI I run, so no change :-) But yep better to go in the direction of fixing it.

@oranagra oranagra deleted the fix_replication_test branch May 18, 2020 05:56
@oranagra
Copy link
Member Author

hopefully fixed in #7271

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.

2 participants