commit | 5eacd97ca4fe2934f752d32f7803e6608b7b2c44 | [log] [tgz] |
---|---|---|
author | Meng Li (Ethan) <ethanopensource@gmail.com> | Mon Oct 14 09:10:09 2019 -0500 |
committer | GitHub <noreply@github.com> | Mon Oct 14 09:10:09 2019 -0500 |
tree | 6c66b8d20e5a406afd92c1fc720b797c6b2b9e52 | |
parent | 8bbd15b19dc4d2f1d2c9878abc05b7b0dcd2c808 [diff] | |
parent | bed06ca685f6ebde431ad30495650ebfdc589a71 [diff] |
Merge pull request #3139 from daisyxchen/STORM-3231 STORM-3231: Fix comment for TopologyBySubmissionTimeComparator function
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 @@ } /** - * 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> {