We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7d53a commit 3372675Copy full SHA for 3372675
opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java
@@ -908,6 +908,14 @@ private static void checkConfiguration() {
908
if (!new File(cfg.getDataRoot()).canWrite()) {
909
die("Data root '" + cfg.getDataRoot() + "' must be writable");
910
}
911
+
912
+ if (!cfg.isHistoryEnabled() && cfg.isHistoryBasedReindex()) {
913
+ die("History has to be enabled for history based reindex");
914
+ }
915
916
+ if (!cfg.isHistoryCache() && cfg.isHistoryBasedReindex()) {
917
+ die("History cache has to be enabled for history based reindex");
918
919
920
921
private static void die(String message) {
0 commit comments