swamirishi opened a new pull request, #9208:
URL: https://github.com/apache/ozone/pull/9208

   ## What changes were proposed in this pull request?
   Snapshot Rocks DB directory path needs to be computed based on local version 
of snapshot. Currently snapshot rocksdb path is <om metadata 
directory>/db.snapshot/om.db-<snapshotId> however whenever a snapshot gets 
defragged the snapshot would be written to a new path and the version in the 
yaml file would be updated to atomically point the snapshot to the newly 
created rocksdb instance atomically.
   
   Thus snapshot rocksdb path would become <om metadata 
directory>/db.snapshot/om.db-<snapshotId>-<version>
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13830
   
   ## How was this patch tested?
   Adding additional unit test for the getSnapshotPath function
   


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