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

   ## What changes were proposed in this pull request?
   Currently, `SnapshotName` (`/volumeName/bucketName/snapshotName`) is used as 
key in SnapshotCache which makes it hard for operations like Snapshot rename. 
Discussions: 
https://github.com/apache/ozone/pull/6006#pullrequestreview-1830469508
   
   This change is to use `SnapshotId` as key in SnapshotCache rather than 
SnapshotName because `SnapshotId` is unique and is never changed throughout the 
snapshot's lifecycle.
   
   ## What is the link to the Apache JIRA
   HDDS-10250
   
   ## How was this patch tested?
   Updated existing unit tests to work with SnapshotId. No new tests were added.
   


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