hemantk-12 commented on PR #6491: URL: https://github.com/apache/ozone/pull/6491#issuecomment-2271994921
> @hemantk-12 Can't we just lookup the object in the maps updatedPathPreviousAndGlobalSnapshots & updatedSnapInfos instead of just getting a fresh copy of the snapshotInfo from the table over and over again Can't we have a single map like updateSnapshotInfoMap which has all the keys that have been updated? I think we can have a local map to `OMSnapshotPurgeRequest`. I'll address this as part of HDDS-11137. We have locks right now, and I'm uncomfortable replacing it with Map as suggested. -- 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]
