Skip to content

Conversation

olavloite
Copy link
Collaborator

@olavloite olavloite commented Aug 15, 2025

getCommitResponse() returned an error if it was called before the transaction
had been committed when using regular sessions. This did not happen when using
multiplexed sessions. This change makes sure that the behavior is the same for
both regular and multiplexed sessions, by adding a check to the
getCommitResponse() method directly.

@olavloite olavloite requested review from a team as code owners August 15, 2025 09:16
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner API. labels Aug 15, 2025
@olavloite olavloite requested review from rahul2393 and removed request for rahul2393 August 15, 2025 09:18
@olavloite olavloite marked this pull request as draft August 15, 2025 09:31
@olavloite olavloite added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 15, 2025
getCommitResponse() returned an error if it was called before the transaction
had been committed when using regular sessions. This did not happen when using
multiplexed sessions. This change makes sure that the behavior is the same for
both regular and multiplexed sessions, by adding a check to the
getCommitResponse() method directly.
@olavloite olavloite force-pushed the async-tx-mgr-return-exception-on-rollback branch from 872e758 to bf75c6a Compare August 18, 2025 08:49
@olavloite olavloite changed the title fix: getCommitResponse() should return error if tx rolled back fix: getCommitResponse() should return error if tx has not committed Aug 18, 2025
@olavloite olavloite removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 18, 2025
@olavloite olavloite marked this pull request as ready for review August 18, 2025 08:50
@olavloite olavloite merged commit a2c179f into main Aug 18, 2025
42 checks passed
@olavloite olavloite deleted the async-tx-mgr-return-exception-on-rollback branch August 18, 2025 12:58
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Aug 28, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [redis.clients:jedis](https://github.com/redis/jedis) | dependencies |
misk/gradle/libs.versions.toml | gradle | minor | `6.1.0` -> `6.2.0` |
|
[com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`6.98.1` -> `6.99.0` |

---

### Release Notes

<details>
<summary>redis/jedis (redis.clients:jedis)</summary>

### [`v6.2.0`](https://github.com/redis/jedis/releases/tag/v6.2.0):
6.2.0

### Changes

#### 🚀 New Features

- \[vector sets] Support for VSIM WITHATTRIBS (CAE-1421)
([#&#8203;4260](redis/jedis#4260))
- Support Redis 8 vector sets
[#&#8203;4169](redis/jedis#4169)
([#&#8203;4203](redis/jedis#4203))

#### 🐛 Bug Fixes

- Fix JedisBroadcastException in functionLoadReplace for Redis Cluster
([#&#8203;4219](redis/jedis#4219))

#### 🧰 Maintenance

- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to
3.11.3 ([#&#8203;4246](redis/jedis#4246))
- Bump org.junit:junit-bom from 5.13.3 to 5.13.4
([#&#8203;4216](redis/jedis#4216))
- docs: Improve Javadoc for HostAndPortMapper
([#&#8203;4112](redis/jedis#4112))
([#&#8203;4227](redis/jedis#4227))

#### Contributors

We'd like to thank all the contributors who worked on this release!

[@&#8203;JuneYub](https://github.com/JuneYub),
[@&#8203;Kguswo](https://github.com/Kguswo),
[@&#8203;dependabot](https://github.com/dependabot),
[@&#8203;dependabot](https://github.com/dependabot)\[bot] and
[@&#8203;ggivo](https://github.com/ggivo)

</details>

<details>
<summary>googleapis/java-spanner
(com.google.cloud:google-cloud-spanner)</summary>

###
[`v6.99.0`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6990-2025-08-26)

##### Features

- Support read lock mode for R/W transactions
([#&#8203;4010](googleapis/java-spanner#4010))
([7d752d6](googleapis/java-spanner@7d752d6))

##### Bug Fixes

- **deps:** Update the Java code generator (gapic-generator-java) to
2.62.0
([52c68db](googleapis/java-spanner@52c68db))
- GetCommitResponse() should return error if tx has not committed
([#&#8203;4021](googleapis/java-spanner#4021))
([a2c179f](googleapis/java-spanner@a2c179f))

##### Dependencies

- Update dependency com.google.cloud:sdk-platform-java-config to v3.52.0
([#&#8203;4024](googleapis/java-spanner#4024))
([7e3294f](googleapis/java-spanner@7e3294f))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 9d031eaaab2d726402884bd41681c856931f12f0
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 googleapis/java-spanner API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants