[ 
https://issues.apache.org/jira/browse/HDDS-13010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035014#comment-18035014
 ] 

Swaminathan Balachandran commented on HDDS-13010:
-------------------------------------------------

This is not valid since defrag doesn't goes through ratis thus the needsDefrag 
flag also needs to be set only when the localDataYaml file's previous 
snapshotId changes or when a new version gets added on the previous snapshot.

> SnapshotDeletingService needs to update snapshot defrag property on Snapshot 
> Purge
> ----------------------------------------------------------------------------------
>
>                 Key: HDDS-13010
>                 URL: https://issues.apache.org/jira/browse/HDDS-13010
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>
> SnapshotDeletingService needs to update next snapshot's defrag property on 
> snapshot purge. This would ensure that the SnapshotCompactionService picks up 
> the next snapshot in the chain to be defragged.



--
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