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

ASF GitHub Bot updated HDDS-13007:
----------------------------------
    Labels: pull-request-available  (was: )

> Snapshot diff computation changes after snapshots have been defragged
> ---------------------------------------------------------------------
>
>                 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
>              Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to