You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .readme-partials.yml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,14 @@ body: |-
28
28
29
29
## Multiplexed Sessions
30
30
31
-
Spanner's Multiplexed Sessions can now be used as an efficient alternative to the default session pool. This feature helps reduce
32
-
session management overhead and minimize session-related errors. Multiplexed sessions can be enabled for all transaction types via environment variables.
31
+
Spanner's Multiplexed Sessions is now default enabled session mode in node client. This feature helps reduce
32
+
session management overhead and minimize session-related errors.
33
33
34
-
### Configuration
34
+
For a detailed explanation on multiplexed sessions, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions#multiplexed_sessions).
35
35
36
-
To enable this feature, set the following environment variables to `true`:
36
+
## Regular Sessions
37
+
38
+
To use regular sessions, disable the multiplexed sessions and set the following environment variables to `false`:
For a detailed explanation of this feature, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions#multiplexed_sessions).
49
+
For a detailed explanation on session modes and env configurations, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions).
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,12 +104,14 @@ Refer to the Observability README to know more about tracing support in the Clou
104
104
105
105
## Multiplexed Sessions
106
106
107
-
Spanner's Multiplexed Sessions can now be used as an efficient alternative to the default session pool. This feature helps reduce
108
-
session management overhead and minimize session-related errors. Multiplexed sessions can be enabled for all transaction types via environment variables.
107
+
Spanner's Multiplexed Sessions is now default enabled session mode in node client. This feature helps reduce
108
+
session management overhead and minimize session-related errors.
109
109
110
-
### Configuration
110
+
For a detailed explanation on multiplexed sessions, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions#multiplexed_sessions).
111
111
112
-
To enable this feature, set the following environment variables to `true`:
112
+
## Regular Sessions
113
+
114
+
To use regular sessions, disable the multiplexed sessions and set the following environment variables to `false`:
113
115
114
116
***For Read-Only Transactions:**
115
117
-`GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS`
@@ -120,7 +122,7 @@ To enable this feature, set the following environment variables to `true`:
For a detailed explanation of this feature, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions#multiplexed_sessions).
125
+
For a detailed explanation on session modes and env configurations, please refer to the [official documentation](https://cloud.google.com/spanner/docs/sessions).
0 commit comments