GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix [cloud-nio] link by arifkasim · Pull Request #3835 · googleapis/google-cloud-java

Conversation

@arifkasim

@arifkasim arifkasim commented Oct 19, 2018

Copy link
Copy Markdown

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arifkasim
Fix [cloud-nio] link
a7c8338
@arifkasim
arifkasim requested a review from a team October 19, 2018 15:21
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 19, 2018
chingor13
chingor13 approved these changes Oct 19, 2018
View reviewed changes
@chingor13
chingor13 merged commit d971c35 into googleapis:master Oct 19, 2018
@JesseLovelace JesseLovelace mentioned this pull request Oct 25, 2018
Release v0.68.0 #3857
Merged
suztomo pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
deps: update dependency com.google.api.grpc:proto-google-cloud-bigque…
69be5e7
…ryconnection-v1 to v2.66.0 (#3835)
lqiu96 pushed a commit that referenced this pull request Mar 20, 2026
@renovate-bot
deps: update dependency com.google.api.grpc:proto-google-cloud-bigque…
a183319
…ryconnection-v1 to v2.66.0 (#3835)
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.59.2-SNAPSHOT (#3835)
42cf497
🤖 I have created a release *beep* *boop*
---


<details><summary>2.59.2-SNAPSHOT</summary>

### Updating meta-information for bleeding-edge SNAPSHOT release.
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@harshachinta
feat: support begin with AbortedException for manager interface (#3835)
d9f2ade
Aborted transactions should ideally be retried in the same transaction manager instance because the client library will ensure to populate the "Prev txn attempt's txn id" on retry (for mux sessions) which helps preserve the lock order(priority) of the transaction in scenarios of high contention thats causing txn wounding. This is achieved by using `resetForRetry()` that automatically takes care of preserving the lock order.

But if the customer application retries aborted transactions on a new TransactionManager instance with out using the `resetForRetry()`, we lose the lock order of the previous attempt.

To address this scenario of preserving the lockorder across transaction manger instance for a retry of the same transaction
Current proposal as per client lib team recommendation:
1. Overload the [Begin](https://togithub.com/googleapis/java-spanner/blob/702f5aa6468bb3f867032efabe685594359d79ae/google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionManager.java#L62) API in the TransactionManager to accept an AbortedException argument.
2. Client library will populate the aborted transaction's transaction ID in the [AbortedException](https://togithub.com/googleapis/java-spanner/blob/877b165f2bacc52a3fb10fedf37ab02111b47a1e/google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbortedException.java#L27) object which is propagated up the customer's application stack.
3. On the customer end, they will just need to pass in this AbortedException object to the "Begin" API when they retry the transaction on the new transaction manager instance.

Note: This will be a no-op for regular sessions.
b/407037309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chingor13 chingor13 chingor13 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@arifkasim @chingor13 @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.