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

ensure replicas are fully up #17

Merged
merged 2 commits into from
Jun 11, 2024
Merged

ensure replicas are fully up #17

merged 2 commits into from
Jun 11, 2024

Conversation

stlava
Copy link
Member

@stlava stlava commented Jun 11, 2024

I found that the ClusterOk checks are not sufficient for newer versions of clustered redis. The only consistent way that I've found to ensure that all replicas have loaded a snapshot from their primary and are ready to serve is via checking the output of cluster slots and verifying they are serving slots. Simply looking at info replication data was not sufficient.

The only reason this has worked up to now is the test order does not require replicas to fully be up until later. This had the confusing effect of causing some tests to fail when run individually.

@stlava stlava merged commit be5448e into main Jun 11, 2024
3 checks passed
@stlava stlava deleted the testbed-wait-for-okay branch June 11, 2024 20:13
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.

1 participant