Flip default for RLS on XDS being enabled to true. (#10248)

This commit is contained in:
Larry Safran 2023-06-05 22:49:30 +00:00 committed by GitHub
parent 6949b8790a
commit 217103cd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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"))

View File

@ -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;