Make Cloud Spanner Mutations serializable#1952
Merged
vkedia merged 6 commits intogoogleapis:masterfrom Apr 21, 2017
Merged
Conversation
…e-cloud-java into java-serialization # Conflicts: # google-cloud-core/src/main/java/com/google/cloud/Date.java # google-cloud-core/src/main/java/com/google/cloud/Timestamp.java
|
Changes Unknown when pulling 8e9cc00 on mairbek:java-serialization into ** on GoogleCloudPlatform:master**. |
vkedia
suggested changes
Apr 20, 2017
vkedia
left a comment
There was a problem hiding this comment.
Can you add serialization tests for each of these classes that you made serializable.
| // Equality, not identity. | ||
| tester.addEqualityGroup( | ||
| Mutation.newInsertBuilder("T1").build(), Mutation.newInsertBuilder("T1").build()); | ||
| Mutation.newInsertBuilder("T1").build(), Mutation.newInsertBuilder("T1").build()); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Added @garrettjonesgoogle since you are touching some of the common classes. |
added 2 commits
April 20, 2017 16:31
Author
|
Added more tests and restored formatting |
Contributor
|
The google-cloud-core changes look good. |
vkedia
approved these changes
Apr 21, 2017
chingor13
pushed a commit
that referenced
this pull request
Jan 22, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13
pushed a commit
that referenced
this pull request
Feb 20, 2026
…storage to v2.30.0 (#1952) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquerystorage](https://togithub.com/googleapis/java-bigquerystorage) | `2.28.2` -> `2.30.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-bigquerystorage</summary> ### [`v2.30.0`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#​2300-httpsgithubcomgoogleapisjava-bigquerystoragecomparev2290v2300-2023-02-06) [Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.29.0...v2.30.0) ##### Features - Add userClose flag back to StreamWriter ([#​1973](https://togithub.com/googleapis/java-bigquerystorage/issues/1973)) ([4b51acd](https://togithub.com/googleapis/java-bigquerystorage/commit/4b51acd49292d99e1c3cd670bec695b8bcd3b5c4)) ##### Bug Fixes - Close stream connection before each retry ([#​1975](https://togithub.com/googleapis/java-bigquerystorage/issues/1975)) ([54e9bb9](https://togithub.com/googleapis/java-bigquerystorage/commit/54e9bb9116eb9781b6f2266f98de4d3853a469b8)) - Improve ConnectionWorker fine logging ([#​1972](https://togithub.com/googleapis/java-bigquerystorage/issues/1972)) ([812bcf1](https://togithub.com/googleapis/java-bigquerystorage/commit/812bcf16efdc7a1797435f0b87430c35f27f7245)) ### [`v2.29.0`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#​2290-httpsgithubcomgoogleapisjava-bigquerystoragecomparev2284v2290-2023-02-01) [Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.28.4...v2.29.0) ##### Features - Add timeout to inflight queue waiting ([#​1957](https://togithub.com/googleapis/java-bigquerystorage/issues/1957)) ([3159b12](https://togithub.com/googleapis/java-bigquerystorage/commit/3159b120e5cd388cf9776a1fa928a3e6ae105d9d)) - Allow java client to handle schema change during same stream name ([#​1964](https://togithub.com/googleapis/java-bigquerystorage/issues/1964)) ([305f71e](https://togithub.com/googleapis/java-bigquerystorage/commit/305f71ee4b274df58388fc3000e9f5da9fc908e1)) ##### Bug Fixes - At connection level, retry for internal errors ([#​1965](https://togithub.com/googleapis/java-bigquerystorage/issues/1965)) ([9c01bc1](https://togithub.com/googleapis/java-bigquerystorage/commit/9c01bc11b51dc1e3e209e4d6b666b9ddd3212cf5)) - Reduce visibility of the ConnectionPool and ConnectionWorker, so… ([#​1954](https://togithub.com/googleapis/java-bigquerystorage/issues/1954)) ([dcb234b](https://togithub.com/googleapis/java-bigquerystorage/commit/dcb234b95d0812d4d91b0c206d0b7e0fb30ab0fa)) - Remove unrecoverable connection from connection pool during multiplexing ([#​1967](https://togithub.com/googleapis/java-bigquerystorage/issues/1967)) ([091dddb](https://togithub.com/googleapis/java-bigquerystorage/commit/091dddb9b2baf1f4b481e8d7961d451b71a8508b)) ### [`v2.28.4`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#​2284-httpsgithubcomgoogleapisjava-bigquerystoragecomparev2283v2284-2023-01-25) [Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.28.3...v2.28.4) ##### Bug Fixes - Fix one potential root cause of deadlock in connection worker ([#​1955](https://togithub.com/googleapis/java-bigquerystorage/issues/1955)) ([598ce5e](https://togithub.com/googleapis/java-bigquerystorage/commit/598ce5eb5e8d5efaaa841495794be4d39c6c0fce)) ### [`v2.28.3`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#​2283-httpsgithubcomgoogleapisjava-bigquerystoragecomparev2282v2283-2023-01-20) [Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.28.2...v2.28.3) ##### Bug Fixes - Fix deadlock issue in ConnectionWorkerPool ([#​1938](https://togithub.com/googleapis/java-bigquerystorage/issues/1938)) ([caf1e76](https://togithub.com/googleapis/java-bigquerystorage/commit/caf1e7603153b1b8de90d6294ac15c711076d8f4)) - **java:** Skip fixing poms for special modules ([#​1744](https://togithub.com/googleapis/java-bigquerystorage/issues/1744)) ([#​1946](https://togithub.com/googleapis/java-bigquerystorage/issues/1946)) ([2863542](https://togithub.com/googleapis/java-bigquerystorage/commit/286354231eaf8e329bbea05e0c45b28e14f4a1e7)) - Update BQTableSchemaToProtoDescriptor to unblock a protobuf change. ([#​1942](https://togithub.com/googleapis/java-bigquerystorage/issues/1942)) ([62cc80a](https://togithub.com/googleapis/java-bigquerystorage/commit/62cc80a216ff4969a30e5fe93ff74b2c582e4677)) - We should isolate the client used in StreamWriter and the client used in ConnectionWorker ([#​1933](https://togithub.com/googleapis/java-bigquerystorage/issues/1933)) ([3530672](https://togithub.com/googleapis/java-bigquerystorage/commit/3530672f0bddfacb973fb0fc1d30aabb4ffefccb)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.2 ([#​1949](https://togithub.com/googleapis/java-bigquerystorage/issues/1949)) ([23ec7fa](https://togithub.com/googleapis/java-bigquerystorage/commit/23ec7fa2c70c720fb995bdfac9416a29d77de2e2)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigquerystorage). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC45Ny42IiwidXBkYXRlZEluVmVyIjoiMzQuMTE0LjAifQ==-->
lqiu96
pushed a commit
that referenced
this pull request
Mar 20, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
meltsufin
pushed a commit
that referenced
this pull request
Apr 29, 2026
…onfig to v1.7.5 (#1952) * build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.7.5 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
meltsufin
pushed a commit
that referenced
this pull request
May 1, 2026
…onfig to v1.7.5 (#1952) * build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.7.5 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Same goal as #1939 but uses standard Java serialization and looks much cleaner.