You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2025/09/08 15:18:00 UTC

[jira] [Updated] (HDDS-13007) Snapshot diff computation changes after snapshot defrag

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

Siyao Meng updated HDDS-13007:
------------------------------
    Summary: Snapshot diff computation changes after snapshot defrag  (was: Snapshot Diff Computation changes to accomodate snapshot defrag)

> Snapshot diff computation changes after snapshot defrag
> -------------------------------------------------------
>
>                 Key: HDDS-13007
>                 URL: https://issues.apache.org/jira/browse/HDDS-13007
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Sadanand Shenoy
>            Priority: Major
>
> To compute a snapshot diff:
>  * If both snapshots are compacted, their compacted versions will be used. The diff b/w two compacted snapshot should be present in one sst file. Just perform full diff in this case.
>  * If the target snapshot is uncompacted & the source snapshot is compacted(other way is not possible as we always compact snapshots in order) and if the DAG has all the sst files corresponding to the uncompacted snapshot version of the compacted snapshot which would be captured as part of the snapshot metadata once a snapshot is compacted, then an efficient diff can be performed with the information present in the DAG.
>  * Otherwise, a full diff will be computed between the compacted source and the uncompacted target snapshot.



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