Skip to content

smoketest: Retry if there is no current leader #2950

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

Merged
merged 2 commits into from
Jul 21, 2025

Conversation

kim
Copy link
Contributor

@kim kim commented Jul 17, 2025

In the wait_for_leader_change helper, catch the case where
get_leader_info doesn't return any rows, and retry.

It is possible that no leader information exists when the node hosting
the last leader is disconnected from the control db.

Expected complexity level and risk

1

Testing

  • yes

In the `wait_for_leader_change` helper, catch the case where
`get_leader_info` doesn't return any rows, and retry.

It is possible that no leader information exists when the node hosting
the last leader is disconnected from the control db.
@kim kim requested a review from Shubham8287 July 17, 2025 08:48
@kim kim added this pull request to the merge queue Jul 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 21, 2025
@kim kim added this pull request to the merge queue Jul 21, 2025
Merged via the queue into master with commit c43d8fe Jul 21, 2025
24 checks passed
@kim kim deleted the kim/smoketests/retry-if-no-leader branch July 21, 2025 12:17
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