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 — Spanner gapic migration by yihanzhen · Pull Request #3231 · googleapis/google-cloud-java

Conversation

@yihanzhen

@yihanzhen yihanzhen commented May 3, 2018

Copy link
Copy Markdown
Contributor

Merge master into spanner-gapic-migration.

Sorry, something went wrong.

Uh oh!

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

All reactions
igorbernstein2 and others added 30 commits March 29, 2018 12:40
@igorbernstein2
Bigtable: Make models serializable.
c6c0e57
Thism along with query sharding, enables the creation of a Beam Source
@igorbernstein2
serialVersionUID
c8597ab
@pongad
Bigtable: Make models serializable. (googleapis#3106)
3dc830e
This, along with query sharding, enables the creation of a Beam Source
@jeanbza
internal: improve pubsub javadoc (googleapis#3132)
c96f1f3
* internal: improve pubsub javadoc

Specifically show creation of executor, rather than
leaving it up to the reader to figure out how to create
an executor.
@pongad
bigquery: implement regionalization (googleapis#3131)
340397d
@vam-google
Fix site (documentation) generation (googleapis#3143)
696232f
1) Fix googleapis#3084. Now `create_site.sh` takes `2 min 50 sec` on my workstation (compared to around `1 hr 30 min` before). Done mostly by disabling unused/incorrect reports generation.
2) Remove unused/incorrect reports (reduces size of generated site by factor of 2). The most time consuming were the cobertura test coverage, code style and dependencies reports:

    2.1) For **cobertura test coverage**, since we were generating the report with `-DdisableTests` flag, the test coverage was constantly reported as 0 with huge reports full of zeros and "red" untested code: https://googlecloudplatform.github.io/google-cloud-java/0.42.1/cobertura/index.html

    2.2) For **code style**: it was far the most time consuming report, results of which are huge and which we ignore and they seem have no real value in our workflow (if it did, we should enforce that rules on build and fix them, instead of generating reports):  https://googlecloudplatform.github.io/google-cloud-java/0.42.1/checkstyle-aggregate.html

    2.3) **Dependencies** report has marginal use, and is the only one I removed not because it was wrong, but was almos useless, but was the second most time consuming report among all (after the code style).

3) Fix `google-cloud-bom` documentation discrepancies (looked completely differently, needed extra configuration, since it is not a child of the main pom)
4) Fix site multimodule cross links (currently https://googlecloudplatform.github.io/google-cloud-java/0.42.1/modules.html is completely broken, for example try clicking on `Google Cloud Java BOM`, `Google Cloud Dataproc` and `Google Cloud Datastore` - all give different results and only dataproc kind of works).

More changes will be done in the context of moving grpc and proto artifacts under google-cloud-java (our maven plugins **need update** and currently **we use deprecated** (unsupported in newer versions) configuration.
@pongad
bigquery: document job location (googleapis#3142)
2a10cae
Fixes googleapis#3126.
@pongad
pubsub: change Subscriber defaults (googleapis#3147)
e1f319d
@pongad
core: add parent resource names (googleapis#3148)
7d88150
@vkedia
Adds Transaction manager API for manually managing retries of a trans…
c0d4b28
…action (googleapis#2776)

* More fixes

* Fixed findbugs version

* Add tracing to cloud spanner client

* Fix version of findbugs

* Made changes per code review comments

* Fixed dependencies

* Fixes style issues

* Removed empty spaces

* Fixed NPE

* Handles the case of null SampledSpanStore

* Changed error_prone version to 2.1.2

* Changed opencensus version to 0.9.1

* Reverts the change to eclipse prefs file

* Interface for manual transaction manager

* More updates

* Tests for transaction manager.

* Indentation fix

* Fixes TransactionRunner tests and adds 2 more tests

* Addresses codacy comments

* Added snippets in Javadoc
@neozwu
add dialogflow v2 and batch refresh (googleapis#3153)
aa0de0f
@neozwu
fix javadoc tag (googleapis#3154)
25f6594
@vkedia
Fixes javadoc comment.
0e910f5
This method already has a snippet. It was manually changed to put under <code> block instead of @code in googleapis#2208 due to javadoc bug
https://bugs.openjdk.java.net/browse/JDK-8130754

When I reran the add snippets tool to add the snippets for a different method, it did not detect the existing snippet on readWriteTransaction and again added the same snippet under @code block which fails. My change removes the duplicate snippet but next time we add a new spanner snippet, we will again run into this issue. Ideally we should fix the add snippet tool to handle this case.
@neozwu
Release 0.44.0 (googleapis#3161)
1c7d068
@neozwu
bump version for development (googleapis#3162)
8d499fa
@pongad
pubsub: stop Subscriber asynchronously (googleapis#3144)
e5a28f4
It is hard to do this completely async, but we can use a background
thread so it doesn't block user code.

Fixes googleapis#3065.
Fixes googleapis#3134.
@mikekap @pongad
Add support for Google Sheets external tables in BigQuery (googleapis…
239c456
…#3160)
@mikekap @pongad
Expose the schema of dry run query jobs. (googleapis#3159)
167ef27
@mikekap @pongad
Add support for new api features in BigQuery TimePartitioning. (googl…
cc1c6df
…eapis#3158)

The two features are requirePartitionFilter & field.
Also this moves to using a builder instead of using more `of` methods since the number of combinations is large.
@mikekap @pongad
Throw the creation exception if there isn't a job created (googleapis…
bb7e709
…#3163)

`getJob` returns `null` when a job wasn't actually created - e.g. when you're running a dry run query
@neozwu
add javadoc test to circleci (googleapis#3165)
b7ae636
* add javadoc test to circleci

* running javadoc on all branches

* re-order tasks
@schmidt-sebastian @pongad
Adding Watch conformane tests (googleapis#3171)
d94eb19
@vam-google
Regenerate java clients, bump proto-/grpc-artifacts dependency versio…
9bbe190
…ns (googleapis#3173)

* Regenerate java clients, bump proto-/grpc-artifacts dependency versions

* .
@vam-google
Release 0.45.0 (googleapis#3174)
4b4eb52
@vam-google
Bump version to 0.45.1-alpha-SNAPSHOT for development (googleapis#3177)
62b867d
@pongad
bigquery: remove QueryParameterValue validation (googleapis#3179)
332583c
Don't second-guess the server.

Fixes googleapis#3178.
@alixhami
standardizes region tags and adds query snippets from java-docs-samples
458c760
@alixhami
deletes unused constant
ca4b0b1
@alixhami
adds sample for large query results
1e4dced
@alixhami
fixes timestamp parameter query print
562656d
schmidt-sebastian and others added 18 commits April 26, 2018 18:14
@schmidt-sebastian @pongad
Updating Watch conformance tests (googleapis#3202)
4108659
@elharo @garrettjonesgoogle
fixing typos (googleapis#3204) [ci skip]
f0cffb4
@garrettjonesgoogle
Regenerating GAPIC clients, updating deps (googleapis#3208)
c5b558f
@garrettjonesgoogle
Fixing javadoc (googleapis#3209)
2ea31b4
@garrettjonesgoogle
Release 0.46.0/1.28.0
40dfc83
@garrettjonesgoogle
Bump to snapshot versions (googleapis#3211)
9fbd6dc
@vam-google
Cleanup before protoc/grpc artifacts push (googleapis#3207)
b559d67
(this is to separate cleanup changes from the actual proto/grpc artifacts push, which is huge)
1) Cleanup `pom.xml`s (remove unused/duplicate, partially wrong configuration)
2) Update `versions.txt` to include `proto/grpc` artifacts version (will be pushed immediately after this change is pushed). Also update `bump_versions.py` and `replace_versions.py` to strip whitespaces and support empty lines.
3) Fix License to pint explicitly to `Apache 2.0` license (instead of Google Software License, which contains apache license in it (did compare the text, it is identical). Otherwise all third-party tools do not recognize the license (including github, looks like).
4) Add Andrea and Hanzhen to developers list.
@andreamlin
increase java heap size to 1024m (googleapis#3184)
b3b2167
@j256 @pongad
compat: fix instructions to take into account the google-cloud-bom re…
c8e5d55
…quirement (googleapis#3214)
@shollyman @pongad
BigQuery: Add query timeline to statistics information. (googleapis#3201
16a25a3
)
@vam-google
Move grpc/proto pacckages to google-cloud-java from api-client-stagin…
ae3638a
…g. (googleapis#3212)
@pongad
pubsub: delete no-op list (googleapis#3217)
656ecd3
@pongad
properly add equals() and compare fields (googleapis#3218)
cfb0d01
@pongad
add hashCode to NoCredentials (googleapis#3216)
52b727a
@schmidt-sebastian @pongad
firestore: catch Throwable in transactions (googleapis#3224)
f12dc34
@vam-google
"Turn off" recent grpc/proto artifacts move change. This effective ro…
33a392f
…llbacks the change, as all the new files are excluded from build, the old modified files are rolled back to the original state. (googleapis#3229)
@yihanzhen
Merge branch 'master' into spanner-gapic-migration
c4d2ff6
@yihanzhen
merge conficts
4e1dfc0
@yihanzhen
yihanzhen requested review from pongad and vkedia May 3, 2018 21:27
@googlebot

googlebot commented May 3, 2018

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label May 3, 2018
vkedia
vkedia approved these changes May 3, 2018
View reviewed changes
@pongad

pongad commented May 3, 2018

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@yihanzhen
yihanzhen merged commit 6cc31d1 into googleapis:spanner-gapic-migration May 3, 2018
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@renovate-bot
deps: update dependency pyyaml to v6.0.2 (#3231)
200f332
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pyyaml](https://pyyaml.org/)
([source](https://redirect.github.com/yaml/pyyaml)) | `==6.0.1` ->
`==6.0.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pyyaml/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pyyaml/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pyyaml/6.0.1/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pyyaml/6.0.1/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>yaml/pyyaml (pyyaml)</summary>

###
[`v6.0.2`](https://redirect.github.com/yaml/pyyaml/releases/tag/6.0.2)

[Compare
Source](https://redirect.github.com/yaml/pyyaml/compare/6.0.1...6.0.2)

#### What's Changed

-   Support for Cython 3.x and Python 3.13.

**Full Changelog**: yaml/pyyaml@6.0.1...6.0.2

</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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.46.1 (#3238)
2b85614
🤖 I have created a release *beep* *boop*
---


<details><summary>2.46.1</summary>

##
[2.46.1](googleapis/sdk-platform-java@v2.46.0...v2.46.1)
(2024-09-25)


### Dependencies

* update dependency black to v24.8.0
([#3234](googleapis/sdk-platform-java#3234))
([e773ec3](googleapis/sdk-platform-java@e773ec3))
* update dependency lxml to v5.3.0
([#3237](googleapis/sdk-platform-java#3237))
([ac6e622](googleapis/sdk-platform-java@ac6e622))
* update dependency net.bytebuddy:byte-buddy to v1.15.2
([#3235](googleapis/sdk-platform-java#3235))
([1e72ff0](googleapis/sdk-platform-java@1e72ff0))
* update dependency pyyaml to v6.0.2
([#3231](googleapis/sdk-platform-java#3231))
([200f332](googleapis/sdk-platform-java@200f332))
* update dependency watchdog to v4.0.2
([#3232](googleapis/sdk-platform-java#3232))
([60b7721](googleapis/sdk-platform-java@60b7721))
* update google api dependencies
([#3224](googleapis/sdk-platform-java#3224))
([0de08b2](googleapis/sdk-platform-java@0de08b2))
* update google.cloud.opentelemetry.version to v0.32.0
([#3225](googleapis/sdk-platform-java#3225))
([861f188](googleapis/sdk-platform-java@861f188))
* update grpc dependencies to v1.68.0
([#3220](googleapis/sdk-platform-java#3220))
([618288c](googleapis/sdk-platform-java@618288c))
* update junit5 monorepo to v5.11.1
([#3236](googleapis/sdk-platform-java#3236))
([1550ceb](googleapis/sdk-platform-java@1550ceb))
</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
Pratick Chokhani @olavloite
feat(spanner): support multiplexed session for Partitioned operations (…
14a50a2
…#3231)

* feat(spanner): support multiplexed session for Partitioned read or query.

* chore(spanner): lint fixes

* feat(spanner): support multiplexed session for Partitioned DML operations.

* lint(spanner): javadoc fixes.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* feat(spanner): Modified BatchClientImpl to store multiplexed session and create fresh session after expiration date.

* feat(spanner): Removed env variable for Partitioned Ops ensuring that Multiplexed Session for Partitioned Ops is not available to customers.

* lint(spanner): Removed unused variables.

---------

Co-authored-by: Knut Olav Løite <[email protected]>
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@gagangupt16 @surbhigarg92
@diegomarquezp @harshachinta @olavloite Pratick Chokhani @sakthivelmanii @cloud-java-bot @pratickchokhani @release-please @renovate-bot @rahul2393 @JoeWang1127 @sagnghos @larkee Gagan Gupta
chore: support for UUID type (#3572)
1d30d3c
* feat: Add Metrics host for built in metrics (#3519)

This PR allows users to set the custom monitoring host for built in metrics.

* feat: introduce java.time variables and methods (#3495)

This PR introduces `java.time` alternatives to existing `org.threeten.bp.*` methods, as well as switching internal variables (if any) to `java.time`

The main constraint is to keep the changes backwards compatible, so for each existing threeten method "`method1(org.threeten.bp.Duration)`" we will add an alternative with a _Duration_ (or _Timestamp_ when applicable) suffix: "`method1Duration(java.time.Duration)`".

For most cases, the implementation will be held in the `java.time` method and the old threeten method will just delegate the call to it. However, for the case of abstract classes, the implementation will be kept in the threeten method to avoid breaking changes (i.e. users that already overloaded the method in their user code).

* chore(spanner): support multiplexed session for rw transactions in ex… (#3471)

* chore(spanner): support multiplexed session for rw transactions in executor

* chore(spanner): lint fix

* chore: remove unused code and fix some warnings (#3533)

* feat(spanner): support multiplexed session for Partitioned operations (#3231)

* feat(spanner): support multiplexed session for Partitioned read or query.

* chore(spanner): lint fixes

* feat(spanner): support multiplexed session for Partitioned DML operations.

* lint(spanner): javadoc fixes.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* feat(spanner): Updated unit tests of Partitioned operations for Multiplexed Session.

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* lint(spanner): Apply suggestions from code review

Co-authored-by: Knut Olav Løite <[email protected]>

* feat(spanner): Modified BatchClientImpl to store multiplexed session and create fresh session after expiration date.

* feat(spanner): Removed env variable for Partitioned Ops ensuring that Multiplexed Session for Partitioned Ops is not available to customers.

* lint(spanner): Removed unused variables.

---------

Co-authored-by: Knut Olav Løite <[email protected]>

* test: enable more tests on the Emulator (#3535)

Multiple tests were skipped on the Emulator, because the features that
are covered by these tests were originally not supported on the
Emulator. These features are now available on the Emulator, and the
tests can be enabled.

* ci(spanner): Fix nightly job issues (#3522)

* ci(spanner): Fix nightly job permission issue

* update scope for surefire-junit4

* chore: add internal option for statement executor type (#3534)

The Connection API by default uses either a platform thread or a virtual thread
for each connection to execute and control the statements of that connection. This
is used to enable asynchronous execution of statements and allows a statement to
be cancelled by just interrupting this thread. Both these use cases are however
not (or only very rarely) used by the most common users of the Connection API;
the JDBC driver and PGAdapter. PGAdapter uses the PostgreSQL wire-protocol, which
by design is synchronous, and JDBC is also a synchronous API. The latter has a
cancel() method that currently requires this threading model, but this can be
modified in the JDBC driver.

Using a direct executor instead of a single-threaded executor per connection can
save one thread per connection.

The option is intentionally made package-private, so the above-mentioned
frameworks can set it by default without it becoming part of the public API.

* feat: support 'set local' for retry_aborts_internally (#3532)

Adds support for `set local retry_aborts_internally=true|false` in the
Connection API. This change also adds the parsing infrastructure that is
needed to support `set local` for all connection variables. Support for
this will be added to other connection variables in follow-up pull requests.

* feat: add opt-in for using multiplexed sessions for blind writes (#3540)

* feat(spanner): Releasing Multiplexed session for blind write.

* fix(spanner): Added exception for `setUseMultiplexedSessionBlindWrite` in Clirr check. Removing this is safe as it's not used by customers.

* fix(spanner): Fixed unit test for multiplexed session.

* ci(spanner): clean up unused kokoro configurations (#3542)

* ci(spanner): clean up unused kokoro configurations

* chore: generate libraries at Tue Dec 10 09:54:10 UTC 2024

---------

Co-authored-by: cloud-java-bot <[email protected]>

* test(spanner): Enabled multiplexed session for partitioned operations in systest. (#3545)

* chore(main): release 6.82.1-SNAPSHOT (#3526)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* deps: update sdk platform java dependencies (#3549)

* chore: reset default to platform thread (#3551)

Reset the default to using a platform thread for connections. This was the
default before adding an option for setting the executor type, and the new
default is causing problems with the async Connection API.

Fixes #3541

* chore: Update generation configuration at Fri Dec 13 16:21:35 UTC 2024 (#3523)

* chore: Update generation configuration at Wed Dec  4 02:29:01 UTC 2024

* chore: Update generation configuration at Thu Dec  5 02:29:11 UTC 2024

* chore: Update generation configuration at Fri Dec  6 02:28:46 UTC 2024

* chore: generate libraries at Fri Dec  6 02:29:25 UTC 2024

* chore: Update generation configuration at Sat Dec  7 02:28:09 UTC 2024

* chore: Update generation configuration at Tue Dec 10 02:29:37 UTC 2024

* chore: Update generation configuration at Wed Dec 11 02:28:47 UTC 2024

* chore: Update generation configuration at Thu Dec 12 02:29:08 UTC 2024

* chore: generate libraries at Thu Dec 12 02:29:50 UTC 2024

* chore: Update generation configuration at Fri Dec 13 02:29:25 UTC 2024

* chore: Update generation configuration at Fri Dec 13 16:21:35 UTC 2024

* chore: generate libraries at Fri Dec 13 16:22:12 UTC 2024

* update workflow script

---------

Co-authored-by: rahul2393 <[email protected]>
Co-authored-by: Joe Wang <[email protected]>

* chore(main): release 6.83.0 (#3547)

* chore(main): release 6.83.0

* chore: generate libraries at Fri Dec 13 17:19:20 UTC 2024

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: cloud-java-bot <[email protected]>

* chore: make state field volatile in AsyncResultSetImpl (#3550)

* chore: make state field volatile in AsyncResultSetImpl

Mark the `state` field in `AsyncResultSetImpl` volatile, as it is
inspected by different threads.

* fix: protect writes with monitor

---------

Co-authored-by: rahul2393 <[email protected]>

* chore: make valid connection properties public (#3546)

Make the list of valid connection properties public, so tools that
depend on the Connection API can use this to for example generate
documentation for valid properties.

Also add valid values to the connection properties that have that
(e.g. enums and booleans).

Co-authored-by: rahul2393 <[email protected]>

* deps: update opentelemetry.version to v1.45.0 (#3531)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.opentelemetry:opentelemetry-sdk-testing](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-testing/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-testing/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-testing/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-testing/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk-trace](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-trace/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-trace/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-trace/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-trace/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk-metrics](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk-metrics/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [io.opentelemetry:opentelemetry-sdk](https://redirect.github.com/open-telemetry/opentelemetry-java) | `1.44.1` -> `1.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.opentelemetry:opentelemetry-sdk/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.opentelemetry:opentelemetry-sdk/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.opentelemetry:opentelemetry-sdk/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.opentelemetry:opentelemetry-sdk/1.44.1/1.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-java (io.opentelemetry:opentelemetry-sdk-testing)</summary>

### [`v1.45.0`](https://redirect.github.com/open-telemetry/opentelemetry-java/blob/HEAD/CHANGELOG.md#Version-1450-2024-12-06)

[Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-java/compare/v1.44.1...v1.45.0)

##### API

-   Add convenience method `setAttribute(Attribute<Long>, int)` to SpanBuilder (matching the existing
    convenience method in Span)
    ([#&#8203;6884](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6884))
-   Extends TextMapGetter with experimental GetAll() method, implement usage in W3CBaggagePropagator
    ([#&#8203;6852](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6852))

##### SDK

##### Traces

-   Add synchronization to SimpleSpanProcessor to ensure thread-safe export of spans
    ([#&#8203;6885](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6885))

##### Metrics

-   Lazily initialize ReservoirCells
    ([#&#8203;6851](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6851))

##### Logs

-   Add synchronization to SimpleLogRecordProcessor to ensure thread-safe export of logs
    ([#&#8203;6885](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6885))

##### Exporters

-   OTLP: Update opentelementry-proto to 1.4
    ([#&#8203;6906](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6906))
-   OTLP: Rename internal Marshaler#writeJsonToGenerator method to allow jackson runtimeOnly dependency
    ([#&#8203;6896](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6896))
-   OTLP: Fix repeated string serialization for JSON.
    ([#&#8203;6888](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6888))
-   OTLP: Fix missing unsafe available check
    ([#&#8203;6920](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6920))

##### Extensions

-   Declarative config: Don't require empty objects when referencing custom components
    ([#&#8203;6891](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6891))

##### Tooling

-   Add javadoc boilerplate internal comment v2 for experimental classes
    ([#&#8203;6886](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6886))
-   Update develocity configuration
    ([#&#8203;6903](https://redirect.github.com/open-telemetry/opentelemetry-java/pull/6903))

</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 these updates again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

* chore(main): release 6.83.1-SNAPSHOT (#3554)

:robot: I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

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

* feat(spanner): add jdbc support for external hosts (#3536)

* feat(spanner): add jdbc support for external hosts

* feat(spanner): added default port value and unit tests

* feat(spanner): fixed redundant class name typo

* ci(spanner): improve performance of samples tests (#3558)

* test: unflake RetryOnInvalidatedSessionTest (#3561)

* ci(spanner): Create a new Sample Slow tests (#3560)

* ci(spanner): Create a new Sample Slow tests

* Fix delete backup issue in autogenerated admin client

* chore: Update generation configuration at Sat Dec 14 02:27:24 UTC 2024 (#3555)

Co-authored-by: rahul2393 <[email protected]>

* test: enable write tests for PostgreSQL (#3529)

* chore: include session min/max in error message (#3566)

* fix: retry specific internal errors (#3565)

* chore: make internal auth backend errors retryable

Spanner occasionally returns INTERNAL errors regarding the auth backend server.
These errors should be regarded as retryable.

* fix: retry specific internal errors

Some specific internal errors should be retrid. Instead of adding INTERNAL
as a standard retryable error code, we use an interceptor to catch and
translate those specific errors.

See also b/375684610

* chore: address review comments

* fix: wait for session pool to initialize

* fix: register errors before creating the client

* chore: disable native metrics when there are no credentials (#3567)

* chore: disable native metrics when there are no credentials

Native metrics were automatically disabled when the emulator is used, but
some clients (e.g. PGAdapter) set up the connection to the emulator manually
instead of setting the environment variable. Also, when using in-mem mock
servers, native metrics should be disabled, as they cannot be exported.

This PR therefore adds an additional check that disables native metrics
when the client uses a NoCredentials instance.

* chore: make method private

* feat: add support for ARRAY<STRUCT> to CloudCilentExecutor (#3544)

There are SPANNER_SYS tables that contain ARRAY<STRUCT> columns. Adding support for this in the CloudClientExecutor so that queries involving these tables do not throw an error.

* chore: Update generation configuration at Wed Dec 18 05:50:09 UTC 2024 (#3564)

* chore: Update generation configuration at Wed Dec 18 05:50:09 UTC 2024

* chore: generate libraries at Wed Dec 18 05:59:39 UTC 2024

* feat: support for UUID type

* feat: support for UUID type

* fix: unit tests for UUID type

* fix: ignore uuid methods for clirr plugin

* style: fix indentation

* style: fix formatting issue

* docs: added TODO for removing env checks for integration tests for UUID

* fix: add missing return statement

* refactor: use internal methods and remove unused code

* fix: make it binary compatible while adding implementation for UUID methods in AbstractStructReader

* style: formatting fix

---------

Co-authored-by: surbhigarg92 <[email protected]>
Co-authored-by: Diego Marquez <[email protected]>
Co-authored-by: Sri Harsha CH <[email protected]>
Co-authored-by: Knut Olav Løite <[email protected]>
Co-authored-by: Pratick Chokhani <[email protected]>
Co-authored-by: Sakthivel Subramanian <[email protected]>
Co-authored-by: cloud-java-bot <[email protected]>
Co-authored-by: Pratick Chokhani <[email protected]>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Mend Renovate <[email protected]>
Co-authored-by: cloud-java-bot <[email protected]>
Co-authored-by: rahul2393 <[email protected]>
Co-authored-by: Joe Wang <[email protected]>
Co-authored-by: Sagnik Ghosh <[email protected]>
Co-authored-by: larkee <[email protected]>
Co-authored-by: Gagan Gupta <[email protected]>
chingor13 pushed a commit that referenced this pull request Mar 30, 2026
@BenWhitehead
chore: merge train for nonblocking-appendable/** branches (#3231)
c7058c7
## Description
feat: *breaking behavior* rewrite Storage.blobAppendableUpload to be non-blocking and have improved throughput (#3231)

Rewrite internals of BlobAppendableUpload to provide non-blocking write calls, and it take advantage of grpc async message handling.

When `AppendableUploadWriteableByteChannel#write(ByteBuffer)` is called, an attempt will be made to enqueue the bytes in the outbound queue to GCS.
If there is only enough room to partially consume the bytes provided in the `ByteBuffer` the write call will return early specifying the number of bytes actually consumed.

As acknowledgements come in from gcs, enqueued messages will be evicted freeing space in the outbound queue. Thereby allowing more bytes to be consumed and enqueued.

Given appendable objects are still in private preview I can't quote any metrics here, however preliminary benchmarking of several million objects across a range of sizes show across the board throughput improvments.

Because the channel's write call is now non-blocking, if you want to block your application until the full buffer is consumed some new helper methods have been added in StorageChannelUtils to provide blocking behavior.

A new method `MinFlushSizeFlushPolicy#withMaxPendingBytes(long)` has been added to allow limiting the number of pending outbound bytes. The default values is 16MiB, but can be configured lower if necessary.

## Release Notes

BEGIN_COMMIT_OVERRIDE

BEGIN_NESTED_COMMIT
feat: *breaking behavior* rewrite Storage.blobAppendableUpload to be non-blocking and have improved throughput (#3231)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: add StorageChannelUtils to provide helper methods to perform blocking read/write to/from non-blocking channels (#3231)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: add MinFlushSizeFlushPolicy#withMaxPendingBytes(long) (#3231)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: update BlobAppendableUploadConfig and FlushPolicy.MinFlushSizeFlushPolicy to default to 4MiB minFlushSize and 16MiB maxPendingBytes (#3249)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: make FlushPolicy${Min,Max}FlushSizeFlushPolicy constructors private (#3217)
END_NESTED_COMMIT

END_COMMIMT_OVERRIDE

## Sub PRs
This PR is made of up the following PRs, in sequence
1. #3217
2. #3218 
3. #3219
4. #3220
5. #3221
6. #3222
7. #3223
8. #3224 
9. #3225 
10. #3226 
11. #3227 
12. #3228 
13. #3229 
14. #3230 
15. #3235 
16. #3236 
17. #3241
18. #3242
19. #3246
20. #3248
21. #3249
22. #3252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pongad pongad Awaiting requested review from pongad
1 more reviewer
@vkedia vkedia vkedia approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

cla: no This human has *not* 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.

19 participants

@yihanzhen @googlebot @pongad @vkedia @igorbernstein2 @jeanbza @vam-google @neozwu @mikekap @schmidt-sebastian @alixhami @archiecobbs @tswast @shollyman @danchia @elharo @garrettjonesgoogle @andreamlin @j256
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.