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
chore(spanner): add epsilon-greedy strategy to ReplicaSelector
Add an epsilon-greedy strategy to the standard ReplicaSelector to ensure that all
endpoints are used from time to time. This ensures that new endpoints that show up
are also used.
Copy file name to clipboardExpand all lines: java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/PowerOfTwoReplicaSelector.java
Copy file name to clipboardExpand all lines: java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner/spi/v1/PowerOfTwoReplicaSelectorTest.java
+29-3Lines changed: 29 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ public void testSingleElement() {
0 commit comments