Skip to content

Commit 217103c

Browse files
authored
Flip default for RLS on XDS being enabled to true. (#10248)
1 parent 6949b87 commit 217103c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

xds/src/main/java/io/grpc/xds/XdsResourceType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ abstract class XdsResourceType<T extends ResourceUpdate> {
4747
@VisibleForTesting
4848
static final String HASH_POLICY_FILTER_STATE_KEY = "io.grpc.channel_id";
4949
@VisibleForTesting
50-
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", false);
50+
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", true);
5151
@VisibleForTesting
5252
static boolean enableLeastRequest =
5353
!Strings.isNullOrEmpty(System.getenv("GRPC_EXPERIMENTAL_ENABLE_LEAST_REQUEST"))

xds/src/test/java/io/grpc/xds/XdsClientImplDataTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ public class XdsClientImplDataTest {
172172
@Before
173173
public void setUp() {
174174
originalEnableRouteLookup = XdsResourceType.enableRouteLookup;
175-
assertThat(originalEnableRouteLookup).isFalse();
176175
originalEnableLeastRequest = XdsResourceType.enableLeastRequest;
177176
assertThat(originalEnableLeastRequest).isFalse();
178177
originalEnableWrr = XdsResourceType.enableWrr;

0 commit comments

Comments
 (0)