hemantk-12 commented on code in PR #8214: URL: https://github.com/apache/ozone/pull/8214#discussion_r2053331834
########## hadoop-hdds/rocksdb-checkpoint-differ/src/main/java/org/apache/ozone/rocksdiff/RocksDBCheckpointDiffer.java: ########## @@ -237,8 +256,22 @@ public class RocksDBCheckpointDiffer implements AutoCloseable, this::pruneSstFiles, pruneCompactionDagDaemonRunIntervalInMs, pruneCompactionDagDaemonRunIntervalInMs, - TimeUnit.MILLISECONDS - ); + TimeUnit.MILLISECONDS); + + try { + isNativeLibsLoaded = ManagedRawSSTFileReader.loadLibrary(); Review Comment: 1. Add a check if `ozone.om.snapshot.load.native.lib` is enabled. 2. Can we load `ManagedRawSSTFileReader.loadLibrary()` twice? Because it is initialized in [SnapshotDiffManager#initNativeLibraryForEfficientDiff](https://github.com/apache/ozone/blob/5c91b44ad1d6e9c61073c3718cd62929b40ba2c0/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java#L287). -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org