Skip to content

Conversation

p123-stack
Copy link
Collaborator

@p123-stack p123-stack commented Aug 21, 2025

Problem:
When the client encounters NotALeader errors, it may continue using a stale routing table, causing write queries to be routed incorrectly to followers.

Fix:
This PR updates the client to close the pool and refresh the routing table upon NotALeader errors, ensuring it re-acquires a valid leader connection before retrying.

Related Issue:
Fixes #270

@p123-stack p123-stack marked this pull request as ready for review August 21, 2025 09:51
@p123-stack p123-stack changed the title Client Intermittently Routing Write Operations to Follower on AuraDB Business Critical #270 Fix: Retry logic for NotALeader errors by refreshing routing table Aug 21, 2025
@transistive transistive self-requested a review August 21, 2025 10:44
@transistive transistive merged commit ee9650f into main Aug 21, 2025
14 checks passed
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.

Client Intermittently Routing Write Operations to Follower on AuraDB Business Critical
2 participants