Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
Should use equals when compare Resource in RMNodeImpl#ReconnectNodeTransition to avoid unnecessary NodeResourceUpdateSchedulerEvent.
The current code use != to compare Resource totalCapability, which will compare reference not the real value in Resource. So we should use equals to compare Resource.