You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2024/09/12 22:30:00 UTC

[jira] [Updated] (HDDS-11411) Snapshot garbage collection should not run when the keys are moved from a deleted snapshot to the next snapshot in the chain

     [ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org