alex-plekhanov commented on a change in pull request #6845: IGNITE-12145:
Monitoring list engine.
URL: https://github.com/apache/ignite/pull/6845#discussion_r322300993
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
##########
@@ -2514,7 +2572,7 @@ public void removeRestartingCaches() {
if (o1.cacheType().userCache() ^ o2.cacheType().userCache())
return o2.cacheType().userCache() ? -1 : 1;
- return o1.cacheId().compareTo(o2.cacheId());
+ return o1.cacheId() - o2.cacheId();
Review comment:
Undesirable change. Has almost the same logic as before, but produce errors
on some corner cases. Not related to this ticket.
----------------------------------------------------------------
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