govind-menon commented on a change in pull request #3213: [STORM-3588] add 
GenericResourceAwareSchedulingPriorityStrategy to accommodate generic resource 
in grading topologies
URL: https://github.com/apache/storm/pull/3213#discussion_r407599592
 
 

 ##########
 File path: 
storm-server/src/main/java/org/apache/storm/scheduler/resource/ResourceAwareScheduler.java
 ##########
 @@ -115,6 +122,7 @@ public void schedule(Topologies topologies, Cluster 
cluster) {
                 scheduleTopology(td, cluster, submitter, orderedTopologies);
             }
         }
+        evictedTopologiesMap = tmpEvictedTopologiesMap;
 
 Review comment:
   I'm trying to clarify why we don't pass in `evictedTopologiesMap` - is it 
because there could be an exception in scheduleTopology and you want to be able 
to get the previously evicted topologies?

----------------------------------------------------------------
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

Reply via email to