Date: Thu, 17 Nov 2022 20:14:14 -0800
Subject: [PATCH 03/15] fix: remove the statement of session number limits
(#1928)
Cloud Spanner no longer has the 10K "Sessions per database per node" limit.
Doc fix only
Fixes #1927
---
.../src/main/java/com/google/cloud/spanner/Session.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Session.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Session.java
index 697521554e9..d322e0fb6d0 100644
--- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Session.java
+++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Session.java
@@ -28,10 +28,9 @@
* read-write/write-only transactions, create multiple sessions. Note that standalone reads and
* queries use a transaction internally, and count toward the one transaction limit.
*
- * Cloud Spanner limits the number of sessions that can exist at any given time; thus, it is a
- * good idea to delete idle and/or unneeded sessions. Aside from explicit deletes, Cloud Spanner can
- * delete sessions for which no operations are sent for more than an hour, or due to internal
- * errors. If a session is deleted, requests to it return {@link ErrorCode#NOT_FOUND}.
+ *
It is a good idea to delete idle and/or unneeded sessions. Aside from explicit deletes, Cloud
+ * Spanner can delete sessions for which no operations are sent for more than an hour, or due to
+ * internal errors. If a session is deleted, requests to it return {@link ErrorCode#NOT_FOUND}.
*
*
Idle sessions can be kept alive by sending a trivial SQL query periodically, for example,
* {@code SELECT 1}.
From 5adeddf2179c1cc722fa8c462be25a68b31f6458 Mon Sep 17 00:00:00 2001
From: Mend Renovate
Date: Fri, 18 Nov 2022 23:12:18 +0100
Subject: [PATCH 04/15] chore(deps): update dependency
com.google.cloud:libraries-bom to v26.1.5 (#2170)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.4` -> `26.1.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### 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.
---
- [ ] 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-spanner).
---
README.md | 4 ++--
samples/native-image/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d0f5134d6df..3e782b61cae 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.1.4
+ 26.1.5
pom
import
@@ -49,7 +49,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:
```Groovy
-implementation platform('com.google.cloud:libraries-bom:26.1.4')
+implementation platform('com.google.cloud:libraries-bom:26.1.5')
implementation 'com.google.cloud:google-cloud-spanner'
```
diff --git a/samples/native-image/pom.xml b/samples/native-image/pom.xml
index 0391300694f..56216c3d4cf 100644
--- a/samples/native-image/pom.xml
+++ b/samples/native-image/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
libraries-bom
- 26.1.4
+ 26.1.5
pom
import
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 39061fea820..5f03bb34b98 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -33,7 +33,7 @@
com.google.cloud
libraries-bom
- 26.1.4
+ 26.1.5
pom
import
From f3487805fe5f976596e94047c3796bc623eeae95 Mon Sep 17 00:00:00 2001
From: Mend Renovate
Date: Mon, 21 Nov 2022 22:07:59 +0100
Subject: [PATCH 05/15] deps: update dependency
org.graalvm.buildtools:junit-platform-native to v0.9.18 (#2171)
---
samples/native-image/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/native-image/pom.xml b/samples/native-image/pom.xml
index 56216c3d4cf..0425bc71500 100644
--- a/samples/native-image/pom.xml
+++ b/samples/native-image/pom.xml
@@ -109,7 +109,7 @@
org.graalvm.buildtools
junit-platform-native
- 0.9.17
+ 0.9.18
test