Repository navigation
Generate new admin client when running into coordinator errors - #25485
Conversation
evalya-impact-summaryevalya impact analysis |
✅ Dispatcher tests: passed
✅ 6 passed · nothing failed Batches · ✅ batch-01 6/6 Dispatcher finished on |
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 1 Pipeline job failed
ℹ️ InfoNo other issues found (see more)🧪 All tests passed 🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 8a48a3e | Docs | View more details | Give us feedback! |
Disk usage changeCommit Uncompressed
Details
Compressed
Details
|
…oordinator-error-recovery Resolve the conflict in kafka_consumer/tests/test_unit.py, where both sides appended tests to the end of the file: keep master's consumer group prefilter tests (#25232), followed by this branch's coordinator error test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
Successful group offsets are preserved when another group returns a coordinator error. The cached AdminClient is reset after all futures finish, allowing the next request to rediscover coordinators.
🤖 Bits Code Review · Commit 8a48a3e
Validation ReportAll 22 validations passed. Show details
|
|
Backport evaluation: View Slack thread |
What does this PR do?
After a
NOT_COORDINATORorCOORDINATOR_NOT_AVAILABLE, call the existingclose_admin_client()once all futures have finished. Current behavior is that the admin_client won't be refreshed if aNOT_COORDINATORorCOORDINATOR_NOT_AVAILABLEerror is seen and it remembers the consumer.Found while troubleshooting:
#25483