Skip to content

Commit f9152cd

Browse files
committed
fix: Update comments for SpannerOptions.disableLeaderAwareRouting
1 parent 1bbd24d commit f9152cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,8 +1168,8 @@ public Builder enableLeaderAwareRouting() {
11681168
}
11691169

11701170
/**
1171-
* Enable leader aware routing. Leader aware routing would route all requests in RW/PDML
1172-
* transactions to the leader region.
1171+
* Disable leader aware routing. Disabling leader aware routing would route all requests in
1172+
* RW/PDML transactions to any region.
11731173
*/
11741174
public Builder disableLeaderAwareRouting() {
11751175
this.leaderAwareRoutingEnabled = false;

0 commit comments

Comments
 (0)