Skip to content

Commit

Permalink
Flip default for RLS on XDS being enabled to true. (grpc#10248)
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-safran committed Jun 5, 2023
1 parent 09260ce commit 7be158f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion xds/src/main/java/io/grpc/xds/XdsResourceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ abstract class XdsResourceType<T extends ResourceUpdate> {
@VisibleForTesting
static final String HASH_POLICY_FILTER_STATE_KEY = "io.grpc.channel_id";
@VisibleForTesting
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", false);
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", true);
@VisibleForTesting
static boolean enableLeastRequest =
!Strings.isNullOrEmpty(System.getenv("GRPC_EXPERIMENTAL_ENABLE_LEAST_REQUEST"))
Expand Down
1 change: 0 additions & 1 deletion xds/src/test/java/io/grpc/xds/XdsClientImplDataTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ public class XdsClientImplDataTest {
@Before
public void setUp() {
originalEnableRouteLookup = XdsResourceType.enableRouteLookup;
assertThat(originalEnableRouteLookup).isFalse();
originalEnableLeastRequest = XdsResourceType.enableLeastRequest;
assertThat(originalEnableLeastRequest).isFalse();
originalEnableWrr = XdsResourceType.enableWrr;
Expand Down

0 comments on commit 7be158f

Please sign in to comment.