Skip to content

solve race in replication test due to ping#11609

Merged
oranagra merged 2 commits intoredis:unstablefrom
oranagra:fix_repl_test_race_
Dec 12, 2022
Merged

solve race in replication test due to ping#11609
oranagra merged 2 commits intoredis:unstablefrom
oranagra:fix_repl_test_race_

Conversation

@oranagra
Copy link
Member

attach_to_replication_stream already stops pings, but it stops them on the server we connect to, and in this case it's a replica, and we need to stop them on the real master.

attach_to_replication_stream already stops pings, but it stops them on
the server we connect to, and in this case it's a replica, and we need
to stop them on the real master.
@oranagra oranagra requested a review from yossigo December 12, 2022 07:10
@oranagra
Copy link
Member Author

Copy link
Contributor

@enjoy-binbin enjoy-binbin left a comment

Choose a reason for hiding this comment

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

thanks!

@oranagra oranagra merged commit cd12cc2 into redis:unstable Dec 12, 2022
@oranagra oranagra deleted the fix_repl_test_race_ branch December 12, 2022 16:10
enjoy-binbin pushed a commit to enjoy-binbin/redis that referenced this pull request Jul 31, 2023
attach_to_replication_stream already stops pings, but it stops them on
the server we connect to, and in this case it's a replica, and we need
to stop them on the real master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants