-
Notifications
You must be signed in to change notification settings - Fork 136
chore(spanner): Implement fallback for multiplexed session on Partitioned Operations #3631
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
pratickchokhani
merged 10 commits into
googleapis:main
from
pratickchokhani:mux-partitioned-ops-fallback
Feb 18, 2025
Merged
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bdd9282
chore(spanner): Implement fallback for multiplexed session on Partiti…
pratickchokhani 1e22531
fix(spanner): Updated multiplexed session fallback to use status code…
pratickchokhani 74d7abd
Merge branch 'main' into mux-partitioned-ops-fallback
pratickchokhani 70fc234
lint(spanner): Fixes formatting issues and variable categorization.
pratickchokhani fd48725
Merge branch 'mux-partitioned-ops-fallback' of github.com:pratickchok…
pratickchokhani 1b0ae68
Merge branch 'main' into mux-partitioned-ops-fallback
pratickchokhani 2130f52
fix(spanner): Updated the error message validation for Multiplexed Se…
pratickchokhani 5a168f1
Merge branch 'main' into mux-partitioned-ops-fallback
pratickchokhani 724903d
lint(spanner): Fixed formatting issues.
pratickchokhani abe62d8
Merge remote-tracking branch 'origin/mux-partitioned-ops-fallback' in…
pratickchokhani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that the error code will be
INVALID_ARGUMENT(and notUNIMPLEMENTED)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, for Partitioned Read or Query, we are returning INVALID_ARGUMENT.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pratickchokhani
As discussed in the meeting, can we temporarily remove the error code check?
Context:
We plan to update the backend to return the UNIMPLEMENTED error for partitioned operations. However, this change will not be part of the current release and will be introduced in a follow-up update.
If we proceed with this error code check now, it will break backward compatibility when the backend starts returning UNIMPLEMENTED. To avoid this issue, we are removing the check for now and will reintroduce it once the backend update is complete.
cc: @rahul2393 to do the same for golang.