Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit f046867

Browse files
committed
Merge branch 'main' into PR #4026 to update
2 parents 5f53df1 + 9cd296e commit f046867

53 files changed

Lines changed: 387 additions & 15550 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ branchProtectionRules:
1414
- units (8)
1515
- units (11)
1616
- 'Kokoro - Test: Integration'
17-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
1817
- cla/google
1918
- checkstyle
2019
- compile (8)
2120
- compile (11)
22-
- units-with-multiplexed-session (8)
23-
- units-with-multiplexed-session (11)
2421
- unmanaged_dependency_check
2522
- library_generation
2623
- pattern: 3.3.x
@@ -154,7 +151,6 @@ branchProtectionRules:
154151
- units (8)
155152
- units (11)
156153
- 'Kokoro - Test: Integration'
157-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
158154
- cla/google
159155
- checkstyle
160156
- compile (8)
@@ -173,7 +169,6 @@ branchProtectionRules:
173169
- units (8)
174170
- units (11)
175171
- 'Kokoro - Test: Integration'
176-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
177172
- cla/google
178173
- checkstyle
179174
- compile (8)
@@ -194,7 +189,6 @@ branchProtectionRules:
194189
- units (8)
195190
- units (11)
196191
- 'Kokoro - Test: Integration'
197-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
198192
- cla/google
199193
- checkstyle
200194
- compile (8)
@@ -215,7 +209,6 @@ branchProtectionRules:
215209
- units (8)
216210
- units (11)
217211
- 'Kokoro - Test: Integration'
218-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
219212
- cla/google
220213
- checkstyle
221214
- compile (8)

.github/workflows/ci.yaml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,6 @@ jobs:
3636
- run: .kokoro/build.sh
3737
env:
3838
JOB_TYPE: test
39-
units-with-multiplexed-session:
40-
runs-on: ubuntu-latest
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
java: [ 11, 17, 21 ]
45-
steps:
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-java@v3
48-
with:
49-
distribution: temurin
50-
java-version: ${{matrix.java}}
51-
- run: java -version
52-
- run: .kokoro/build.sh
53-
env:
54-
JOB_TYPE: test
55-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS: true
56-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW: true
57-
units-with-regular-session:
58-
runs-on: ubuntu-latest
59-
strategy:
60-
fail-fast: false
61-
matrix:
62-
java: [ 11, 17, 21 ]
63-
steps:
64-
- uses: actions/checkout@v4
65-
- uses: actions/setup-java@v3
66-
with:
67-
distribution: temurin
68-
java-version: ${{matrix.java}}
69-
- run: java -version
70-
- run: .kokoro/build.sh
71-
env:
72-
JOB_TYPE: test
73-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: false
7439
units-java8:
7540
# Building using Java 17 and run the tests with Java 8 runtime
7641
name: "units (8)"
@@ -90,48 +55,6 @@ jobs:
9055
- run: .kokoro/build.sh
9156
env:
9257
JOB_TYPE: test
93-
units-with-multiplexed-session8:
94-
# Building using Java 17 and run the tests with Java 8 runtime
95-
name: "units-with-multiplexed-session (8)"
96-
runs-on: ubuntu-latest
97-
steps:
98-
- uses: actions/checkout@v4
99-
- uses: actions/setup-java@v3
100-
with:
101-
java-version: 8
102-
distribution: temurin
103-
- run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
104-
shell: bash
105-
- uses: actions/setup-java@v3
106-
with:
107-
java-version: 17
108-
distribution: temurin
109-
- run: .kokoro/build.sh
110-
env:
111-
JOB_TYPE: test
112-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: true
113-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS: true
114-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW: true
115-
units-with-regular-session8:
116-
# Building using Java 17 and run the tests with Java 8 runtime
117-
name: "units-with-regular-session (8)"
118-
runs-on: ubuntu-latest
119-
steps:
120-
- uses: actions/checkout@v4
121-
- uses: actions/setup-java@v3
122-
with:
123-
java-version: 8
124-
distribution: temurin
125-
- run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
126-
shell: bash
127-
- uses: actions/setup-java@v3
128-
with:
129-
java-version: 17
130-
distribution: temurin
131-
- run: .kokoro/build.sh
132-
env:
133-
JOB_TYPE: test
134-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: false
13558
windows:
13659
runs-on: windows-latest
13760
steps:

.github/workflows/integration-tests-against-emulator-with-regular-session.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.kokoro/presubmit/integration-regular-sessions-enabled.cfg

Lines changed: 0 additions & 48 deletions
This file was deleted.

google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractMultiplexedSessionDatabaseClient.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
*/
2727
abstract class AbstractMultiplexedSessionDatabaseClient implements DatabaseClient {
2828

29-
@Override
30-
public String getDatabaseRole() {
31-
throw new UnsupportedOperationException();
32-
}
33-
3429
@Override
3530
public Timestamp writeAtLeastOnce(Iterable<Mutation> mutations) throws SpannerException {
3631
return writeAtLeastOnceWithOptions(mutations).getCommitTimestamp();

0 commit comments

Comments
 (0)