This is an automated email from the ASF dual-hosted git repository.

ethanli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git


The following commit(s) were added to refs/heads/master by this push:
     new bed06ca  STORM-3231: Fix comment for 
TopologyBySubmissionTimeComparator function
     new 5eacd97  Merge pull request #3139 from daisyxchen/STORM-3231
bed06ca is described below

commit bed06ca685f6ebde431ad30495650ebfdc589a71
Author: Daisy Chen <[email protected]>
AuthorDate: Thu Oct 10 16:07:45 2019 -0500

    STORM-3231: Fix comment for TopologyBySubmissionTimeComparator function
---
 .../resource/strategies/priority/FIFOSchedulingPriorityStrategy.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/priority/FIFOSchedulingPriorityStrategy.java
 
b/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/priority/FIFOSchedulingPriorityStrategy.java
index 0076c75..29a0584 100644
--- 
a/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/priority/FIFOSchedulingPriorityStrategy.java
+++ 
b/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/priority/FIFOSchedulingPriorityStrategy.java
@@ -55,8 +55,7 @@ public class FIFOSchedulingPriorityStrategy extends 
DefaultSchedulingPriorityStr
     }
 
     /**
-     * Comparator that sorts topologies by priority and then by submission 
time.
-     * First sort by Topology Priority, if there is a tie for topology 
priority, topology uptime is used to sort.
+     * Comparator that sorts topologies by submission time.
      */
     private static class TopologyBySubmissionTimeComparator implements 
Comparator<TopologyDetails> {
 

Reply via email to