oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.36k stars 748 forks source link

Missing older history of new files #842

Open skozina opened 10 years ago

skozina commented 10 years ago

If we remove opengrok history for specific files and run incremental index (using FileHistoryCache), the history files are only created for the changesets newer than the last incremental index run. Opengrok should run full index for files it can't find in the cache.

idodeclare commented 6 years ago

I don't think this is a bug.

At the time this issue was created, c7b4642 would have been fairly new and noFetchHistoryWhenNotInCache would probably have been the cause. As of 452965f (and currently), the tunable was revised — so one should ensure that configuration fetchHistoryWhenNotInCache is true in order to work around having "remove[d] opengrok history for specific files".