zhenxiao commented on a change in pull request #9302: Use HashMap for
CoordinatorRuleManager.rules
URL: https://github.com/apache/druid/pull/9302#discussion_r373868510
##########
File path:
server/src/main/java/org/apache/druid/server/router/CoordinatorRuleManager.java
##########
@@ -149,7 +148,7 @@ public void poll()
);
}
- ConcurrentHashMap<String, List<Rule>> newRules = new ConcurrentHashMap<>(
+ Map<String, List<Rule>> newRules = new HashMap<>(
Review comment:
do you mean set rules directly, no need create newRules?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]