hemantk-12 opened a new pull request, #5201:
URL: https://github.com/apache/ozone/pull/5201

   ## What changes were proposed in this pull request?
   Issue is that at final stage of snapshot purge we update the [snapshot chain 
and next global & path level snapshots in 
DB](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/snapshot/OMSnapshotPurgeResponse.java#L112).
 When we update next global and path level snapshots in DB, it doesn’t not 
[update the 
cache](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/snapshot/OMSnapshotPurgeResponse.java#L144).
 SnapshotInfo [read happens from the 
cache](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/snapshot/OMSnapshotPurgeResponse.java#L149).
 When causes that test failures mentioned in HDDS-8665.
   
   This change contains two main change.
   1. Snapshot Info to implement CopyObject.
   2. Move out SnapshotChain update form `OMSnapshotPurgeResponse` to 
`OMSnapshotPurgeRequest`.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-8665
   
   ## How was this patch tested?
   Existing unit tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to