srdo commented on a change in pull request #2945: STORM-3321: Fix race in 
LocalCluster regarding Nimbus leadership, red…
URL: https://github.com/apache/storm/pull/2945#discussion_r260638213
 
 

 ##########
 File path: storm-server/src/main/java/org/apache/storm/LocalCluster.java
 ##########
 @@ -231,6 +233,10 @@ private LocalCluster(Builder builder) throws Exception {
             } else {
                 this.clusterState = builder.clusterState;
             }
+            if (!Time.isSimulating()) {
+                //Ensure Nimbus assigns topologies as quickly as possible
+                conf.put(DaemonConfig.NIMBUS_MONITOR_FREQ_SECS, 1);
 
 Review comment:
   By "testing" I mean both automatic tests and manual tests

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to