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/18 15:58:13 UTC

[PR] HDDS-12621. Change NodeStatus to value-based. [ozone]

szetszwo opened a new pull request, #8105:
URL: https://github.com/apache/ozone/pull/8105

   ## What changes were proposed in this pull request?
   
   All the fields in NodeStatus won't be changed. We should change it to a value-based class. The main changes are:
   - adding valueOf(..) methods,
   - hiding the constructors, and
   - replace the constructor calls
   
   We also add a `CONSTANT_MAP` for storing all the NodeStatus objects with opStateExpiryEpochSeconds == 0.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12621
   
   ## How was this patch tested?
   
   By updating existing 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-12621. Change NodeStatus to value-based. [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #8105:
URL: https://github.com/apache/ozone/pull/8105#issuecomment-2737498311

   Thanks @szetszwo for the patch.


-- 
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-12621. Change NodeStatus to value-based. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #8105:
URL: https://github.com/apache/ozone/pull/8105#issuecomment-2737499211

   @adoroszlai , thanks a lot for 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


Re: [PR] HDDS-12621. Change NodeStatus to value-based. [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #8105:
URL: https://github.com/apache/ozone/pull/8105


-- 
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