You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "szetszwo (via GitHub)" <gi...@apache.org> on 2025/03/19 23:44:33 UTC
[PR] HDDS-12627. NodeStateMap may handle opStateExpiryEpochSeconds incorrectly. [ozone]
szetszwo opened a new pull request, #8117:
URL: https://github.com/apache/ozone/pull/8117
## What changes were proposed in this pull request?
Found two bugs in NodeStateMap:
1. in updateNodeHealthState, it does not pass the updateNodeHealthState from the oldStatus to the newStatus, i.e. the newStatus will always have opStateExpiryEpochSeconds == 0.
2. 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.
## What is the link to the Apache JIRA
HDDS-12627
## How was this patch tested?
Added new tests.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12627. NodeStateMap may handle opStateExpiryEpochSeconds incorrectly. [ozone]
Posted by "nandakumar131 (via GitHub)" <gi...@apache.org>.
nandakumar131 merged PR #8117:
URL: https://github.com/apache/ozone/pull/8117
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12627. NodeStateMap may handle opStateExpiryEpochSeconds incorrectly. [ozone]
Posted by "nandakumar131 (via GitHub)" <gi...@apache.org>.
nandakumar131 commented on PR #8117:
URL: https://github.com/apache/ozone/pull/8117#issuecomment-2739906428
Thanks @szetszwo for the contribution.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12627. NodeStateMap may handle opStateExpiryEpochSeconds incorrectly. [ozone]
Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #8117:
URL: https://github.com/apache/ozone/pull/8117#issuecomment-2740420688
@nandakumar131 , thanks a lot of reviewing and merging this!
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org