rdhabalia commented on a change in pull request #1949: [bookie-gc] add option
to cache entry-log metadata map into rocksDB
URL: https://github.com/apache/bookkeeper/pull/1949#discussion_r338199571
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java
##########
@@ -1560,6 +1560,15 @@ public static boolean format(ServerConfiguration conf,
}
}
}
+
+ // Clean up metadata directories if they are separate from the
+ // ledger dirs
+ File metadataDir = new File(conf.getGcEntryLogMetadataCachePath());
Review comment:
yes, it uses rocksDB to cache metadata map only if the feature is enabled
else it continues to use existing logic.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services