[
https://issues.apache.org/jira/browse/HDDS-7728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766925#comment-17766925
]
Ethan Rose commented on HDDS-7728:
----------------------------------
bq. When there are 4 replica, and 1 replica has orphan blocks. And assuming SCM
deletes one replica which has orphan blocks.
SCM requires that all replicas are empty before moving the container to deleted
state. One non-empty replica will block deletion of all replicas.
My point is that both cases can be solved by the missing/orphan container
cleanup. If we are already implementing missing container cleanup then there is
no need to add complexity to the RM to additionally handle the orphan block
case as well.
> Block should be safely deleted from the containers if they are instructed
> from OM and containers are in missing state.
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HDDS-7728
> URL: https://issues.apache.org/jira/browse/HDDS-7728
> Project: Apache Ozone
> Issue Type: Improvement
> Components: SCM
> Affects Versions: 1.3.0
> Reporter: Uma Maheswara Rao G
> Assignee: Ashish Kumar
> Priority: Major
>
> Currently when OM instructs to delete the blocks and if containers are in
> missing state, deletion may not be processed properly. This Jira to track
> this requirement and implement to safe deletion os blocks what ever state
> they are on. Otherwise containers would never get cleaned up even though all
> blocks in that files deleted.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]