aswinshakil commented on PR #6226: URL: https://github.com/apache/ozone/pull/6226#issuecomment-1972117450
Discussed with @hemantk-12 and @swamirishi offline, Right now `installSnapshotFromLeader` is `synchronized` so this is where the follower downloads the checkpoint(candidate) from the leader and moves it to the actual OM DB. There will be only one download happening at any point in time. This can happen in the same partition because we would be doing the same thing if we downloaded it in a different partition and moved that into OM DB's partition. Instead, download the checkpoint(candidate) in the OM DB partition. We need to do a few things, deprecate configs `ozone.om.ratis.snapshot.dir` which allows the user to specify different partitions and also don't fall back to `ozone.metadata.dirs`. Instead, use `ozone.om.db.dirs` to download the checkpoint and avoid this problem altogether. -- 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]
