Skip to content

Commit

Permalink
adjust announce mode enum order
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang committed Nov 21, 2024
1 parent a063056 commit 05a1931
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 05a1931

Please sign in to comment.