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 619ebc3 commit a18ffe6Copy full SHA for a18ffe6
src/org/opensolaris/opengrok/index/Indexer.java
@@ -542,7 +542,9 @@ public static void main(String argv[]) {
542
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
543
env.setConfiguration(cfg);
544
545
- if (RuntimeEnvironment.isRenamedFilesEnabled()) {
+ // Issue a warning when JDBC is used with renamed file handling.
546
+ // This causes heavy slowdown when used with JavaDB (issue #774).
547
+ if (RuntimeEnvironment.isRenamedFilesEnabled() && cfg.isHistoryCacheInDB()) {
548
System.out.println("History stored in DB and renamed file handling is on - possible performance degradation");
549
}
550
0 commit comments