Skip to content
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

feat(spanner): enable request options for batch read #3905

Merged
merged 4 commits into from Apr 21, 2021

Conversation

olavloite
Copy link
Contributor

Enables RequestOptions (priority and tagging) for batch read transactions. This problem was first reported in #3896.

cc @yfuruyama

Fixes #3904

Enables RequestOptions (priority and tagging) for batch read transactions.
This problem was first reported in #3896.

Fixes #3904
@olavloite olavloite requested a review from a team as a code owner April 8, 2021 07:28
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Apr 8, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 8, 2021
Copy link
Contributor

@hengfengli hengfengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @skuruppu But do we need to hold off this change because it is related to tagging?

@skuruppu
Copy link
Contributor

skuruppu commented Apr 9, 2021

I think because the PR is already merged for tagging, we should merge this in for completeness.

@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Apr 9, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 9, 2021
@olavloite
Copy link
Contributor Author

@skuruppu Apparently this PR can only be merged once a code owner has approved.

@skuruppu skuruppu merged commit 0c73db2 into master Apr 21, 2021
@skuruppu skuruppu deleted the spanner-enable-request-options-for-batch-read branch April 21, 2021 11:04
olavloite added a commit that referenced this pull request Apr 22, 2021
olavloite added a commit that referenced this pull request Apr 22, 2021
BREAKING CHANGE: Removes
- BatchReadOnlyTransaction.PartitionReadUsingIndexWithOptions
- BatchReadOnlyTransaction.PartitionReadWithOptions

This reverts commit 0c73db2.
olavloite added a commit that referenced this pull request Apr 22, 2021
#3987)

BREAKING CHANGE: Removes
- BatchReadOnlyTransaction.PartitionReadUsingIndexWithOptions
- BatchReadOnlyTransaction.PartitionReadWithOptions

This reverts commit 0c73db2.
olavloite added a commit that referenced this pull request Jun 29, 2021
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spanner: Batch read transactions miss support for RPC Priority and Tagging
3 participants