swamirishi commented on code in PR #9141:
URL: https://github.com/apache/ozone/pull/9141#discussion_r2430887829
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/OmSnapshotLocalDataManager.java:
##########
@@ -45,9 +59,12 @@ public class OmSnapshotLocalDataManager implements
AutoCloseable {
private static final Logger LOG =
LoggerFactory.getLogger(OmSnapshotLocalDataManager.class);
private final ObjectSerializer<OmSnapshotLocalData>
snapshotLocalDataSerializer;
+ private final MutableGraph<LocalDataVersionNode> localDataGraph;
+ private final Map<UUID, SnapshotVersionsMeta> versionNodeMap;
Review Comment:
Gauva Graph data structure doesn't have a thread safe implementation. We
would be making the entire in memory update synchronized to get around this.
#9140 has the changes
--
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]