[ 
https://issues.apache.org/jira/browse/HDDS-11411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swaminathan Balachandran updated HDDS-11411:
--------------------------------------------
    Description: There is a race condition where entries in the rename tables 
could be inconsistent state when moving keys from a deleted snapshot to the 
next snapshot in chain. If the garbage collection runs on the next snapshot 
then this could lead to incorrect deletion. This would happen since data rename 
entries could be in an inconsistent state. Garbage Collection should wait for 
the snapshot purge to happen if the previous snapshot in chain is in deleted 
state.  (was: There is a race condition where entries in the rename tables 
could be inconsistent state when moving keys from a deleted snapshot to the 
next snapshot in chain. If the garbage collection runs on the next snapshot 
then this could lead to incorrect deletion.)

> Snapshot garbage collection should not run when the keys are moved from a 
> deleted snapshot to the next snapshot in the chain
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-11411
>                 URL: https://issues.apache.org/jira/browse/HDDS-11411
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>
> There is a race condition where entries in the rename tables could be 
> inconsistent state when moving keys from a deleted snapshot to the next 
> snapshot in chain. If the garbage collection runs on the next snapshot then 
> this could lead to incorrect deletion. This would happen since data rename 
> entries could be in an inconsistent state. Garbage Collection should wait for 
> the snapshot purge to happen if the previous snapshot in chain is in deleted 
> state.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to