[
https://issues.apache.org/jira/browse/HDDS-12627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-12627:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]