Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- links to