sadanand48 commented on code in PR #9132:
URL: https://github.com/apache/ozone/pull/9132#discussion_r2594903559
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/RDBSnapshotProvider.java:
##########
@@ -185,14 +186,29 @@ public String getSnapshotFileName(String leaderNodeID) {
*/
public RocksDBCheckpoint getCheckpointFromSnapshotFile(File snapshot,
File untarDir, boolean deleteSnapshot) throws IOException {
+ Path untarredDbDir = untarContentsOfTarball(snapshot, untarDir,
deleteSnapshot);
Review Comment:
It's exactly the same, just extracted a method here.
--
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]