Sumit Agrawal created HDDS-12722:
------------------------------------
Summary: EC duplicate replica handling in datanodes
Key: HDDS-12722
URL: https://issues.apache.org/jira/browse/HDDS-12722
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone Datanode
Reporter: Sumit Agrawal
If duplicate replica are present for EC, currently it just have WARN log and
ignore further replica.
Where for Ratis, it is deleting duplicate replica based on BCSID.
For EC, there are below cases,
1. if replica is present with same replica index
* It is simple to delete duplicate replica index
2. if replica is present with different replica index
Solution needs to identify which one is last replica to be given preference.
*Container Id and state* during creation is kept in metadata path of datanode
(common place). It can keep additional information of replica index during:
* import of the EC container
* reconstruction of EC container on completion
This information can be used during startup to provide preference of EC replica
index.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]