neils-dev commented on PR #3658: URL: https://github.com/apache/ozone/pull/3658#issuecomment-1230996851
> What is the plan for synchronization within the SnapshotChain structures? Snapshot diff could try to read at anytime, right? One `SnapshotChainManager` is initialized from the `SnapshotInfo`, loaded into memory and maintained by the `SnapshotMetadataManager` (or equivalent). On each `ratis `snapshot action, create and delete, the `SnapshotChain` is updated and current. The state of snapshots is reflected by the `SnapshotChainManager` in this manner. Each `SnapshotChain` user, including snapshot diff, find the `SnapshotChain `containing the current state of snapshots. Further, on OM restart, the `SnapshotChainManager `is loaded into memory initialized with the persistent storage snapshot state stored in the OM snapshotInfo table. -- 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]
