hemantk-12 commented on PR #6491:
URL: https://github.com/apache/ozone/pull/6491#issuecomment-2272219528

   As per @swamirishi's suggestion, we can maintain a Map that will work as a 
local cache to OMSnapshotPurgeRequest and returns update snapshotInfo all the 
time.
   Currently, the problem is that we maintain two maps 
`updatedPathPreviousAndGlobalSnapshots` and `updatedSnapInfos` which creates an 
issue with batch processing because order matters. If we replace these maps 
with one map, it would solve the problem and we can still keep the batch purge 
operation.
   
   Closing this PR since we can keep batch purge of snapshots. Will change it 
to the local cache in HDDS-11137/#7018.


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