Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/2148#discussion_r120135498
--- Diff:
storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java ---
@@ -2369,7 +2369,7 @@ public void launchServer() throws Exception {
for (ClusterMetricsConsumerExecutor exec:
clusterConsumerExceutors) {
exec.prepare();
}
-
+ assertIsLeader();
if (isLeader()) {
--- End diff --
This is a little odd. Why do we need to be sure that we are the leader
here? Especially with code right below it checking if we are the leader or not.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---