sodonnel opened a new pull request #789: HDDS-3361. Remove ContainerReplica states representing decomission and maintenance URL: https://github.com/apache/hadoop-ozone/pull/789 ## What changes were proposed in this pull request? In an earlier change, we decided that the Datanode would change the state of decommissioning / maintenance replicas and report the new state in its container report. Using that assumption, the logic in replication manager was changed to expect the ContainerReplica to contain the decom / maintenance state. However in HDDS-2592 it was decided that the DN would simply store the operational state and report only the operation state in the heartbeat. This state is reported back to SCM and stored in the datanodeDetails instances. This means that earlier assumption (ContainerReplica will contain the decom state) is no longer valid. This Jira is to change the logic so replication decisions are based on the "persistedOpState" in the datanode details object instead. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3361 ## How was this patch tested? Existing and modified unit 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
