[
https://issues.apache.org/jira/browse/HDDS-12722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddhant Sangwan updated HDDS-12722:
------------------------------------
Parent Issue: HDDS-13748 (was: HDDS-12564)
> EC duplicate replica same index 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
> Assignee: Sumit Agrawal
> Priority: Major
> Labels: pull-request-available
>
> 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.
> For different index, it will be handled as part of
> https://issues.apache.org/jira/browse/HDDS-13174
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]