Tsz-wo Sze created HDDS-12627:
---------------------------------

             Summary: NodeStateMap may handle opStateExpiryEpochSeconds 
incorrectly
                 Key: HDDS-12627
                 URL: https://issues.apache.org/jira/browse/HDDS-12627
             Project: Apache Ozone
          Issue Type: Bug
          Components: SCM
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


Found two bugs in NodeStateMap:
# in updateNodeHealthState, it does not pass the  updateNodeHealthState from 
the oldStatus to the newStatus, i.e. the newStatus will always have 
opStateExpiryEpochSeconds == 0.
# in filterNodes, when both opState and health are non-null, the matched nodes 
must also have opStateExpiryEpochSeconds == 0, i.e. the non-zero 
opStateExpiryEpochSeconds won't be matched.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to