Skip to content

Conversation

@viacheslav-rostovtsev
Copy link
Member

@viacheslav-rostovtsev viacheslav-rostovtsev commented Nov 6, 2025

This change makes it so queries against single-use transactions do not route to the leader, even when leader-aware routing is enabled, as these single-use transactions are read-only transactions with specific staleness requirements.

follows up on: #199

closes: #196

This change makes it so queries against single-use transactions do not
route to the leader, even when leader-aware routing is enabled, as these
single-use transactions are read-only transactions with specific
staleness requirements.
@viacheslav-rostovtsev viacheslav-rostovtsev requested review from a team as code owners November 6, 2025 17:38
@viacheslav-rostovtsev viacheslav-rostovtsev merged commit cb1ec15 into main Nov 6, 2025
16 checks passed
@viacheslav-rostovtsev viacheslav-rostovtsev deleted the michaelherold/do-not-query-leader-with-read-only-txn branch November 6, 2025 20:05
@michaelherold
Copy link
Contributor

Thanks again!

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#execute_query always routes to leader, even when unnecessary

3 participants