From 05a19317ec3fceca68ddb27b02a48c488fd96f7f Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Thu, 21 Nov 2024 13:41:47 -0800 Subject: [PATCH] adjust announce mode enum order --- .../java/com/linkedin/d2/balancer/LoadBalancerServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d2/src/main/java/com/linkedin/d2/balancer/LoadBalancerServer.java b/d2/src/main/java/com/linkedin/d2/balancer/LoadBalancerServer.java index 2853c92e3..6982eef55 100644 --- a/d2/src/main/java/com/linkedin/d2/balancer/LoadBalancerServer.java +++ b/d2/src/main/java/com/linkedin/d2/balancer/LoadBalancerServer.java @@ -81,11 +81,11 @@ void addUriSpecificProperty(String clusterName, enum AnnounceMode { STATIC_OLD_SR_ONLY, // statically only announce to old service registry + STATIC_NEW_SR_ONLY, // statically only announce to new service registry + STATIC_NEW_SR_ONLY_NO_WRITE_BACK, // statically only announce to new service registry without writing back to old service registry DYNAMIC_OLD_SR_ONLY, // dynamically only announce to old service registry DYNAMIC_DUAL_WRITE, // dynamically announce to both service registries DYNAMIC_NEW_SR_ONLY, // dynamically only announce to new service registry - DYNAMIC_FORCE_DUAL_WRITE, // Using dynamic server yet forced to announce to both service registries - STATIC_NEW_SR_ONLY, // statically only announce to new service registry - STATIC_NEW_SR_ONLY_NO_WRITE_BACK // statically only announce to new service registry without writing back to old service registry + DYNAMIC_FORCE_DUAL_WRITE // Using dynamic server yet forced to announce to both service registries } }