Skip to content

Commit 89a99b2

Browse files
committed
chore: remove session pool implementation
Removes the SessionPool and related classes and deprecates the SessionPoolOptions class. This simplifies large parts of the code, as the only possible code path is the use of multiplexed sessions.
1 parent 5b50313 commit 89a99b2

File tree

46 files changed

+183
-14897
lines changed

Some content is hidden

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

46 files changed

+183
-14897
lines changed

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ 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)
@@ -154,7 +153,6 @@ branchProtectionRules:
154153
- units (8)
155154
- units (11)
156155
- 'Kokoro - Test: Integration'
157-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
158156
- cla/google
159157
- checkstyle
160158
- compile (8)
@@ -173,7 +171,6 @@ branchProtectionRules:
173171
- units (8)
174172
- units (11)
175173
- 'Kokoro - Test: Integration'
176-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
177174
- cla/google
178175
- checkstyle
179176
- compile (8)
@@ -194,7 +191,6 @@ branchProtectionRules:
194191
- units (8)
195192
- units (11)
196193
- 'Kokoro - Test: Integration'
197-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
198194
- cla/google
199195
- checkstyle
200196
- compile (8)
@@ -215,7 +211,6 @@ branchProtectionRules:
215211
- units (8)
216212
- units (11)
217213
- 'Kokoro - Test: Integration'
218-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
219214
- cla/google
220215
- checkstyle
221216
- compile (8)

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

Lines changed: 0 additions & 48 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)