Skip to content

repeated Creating/Done historycache messages for the same repository #3260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vladak opened this issue Oct 5, 2020 · 0 comments
Closed

repeated Creating/Done historycache messages for the same repository #3260

vladak opened this issue Oct 5, 2020 · 0 comments
Assignees

Comments

@vladak
Copy link
Member

vladak commented Oct 5, 2020

Running the indexer from scratch I noticed repeated messages within single indexer run:

# grep linux-uek /opengrok-upgrade/log/reindex.log | grep history
15:22:00 INFO: Creating historycache for /ws-local-upgrade/linux-uek-4.1 (GitRepository) without renamed file handling
16:23:06 INFO: Done historycache for /ws-local-upgrade/linux-uek-4.1 (took 1:01:06)
04:53:51 INFO: Creating historycache for /ws-local-upgrade/linux-uek-SPARC (GitRepository) without renamed file handling
06:29:42 INFO: Done historycache for /ws-local-upgrade/linux-uek-SPARC (took 1:35:51)
11:55:42 INFO: Creating historycache for /ws-local-upgrade/linux-uek-4.1 (GitRepository) without renamed file handling
11:56:06 INFO: Done historycache for /ws-local-upgrade/linux-uek-4.1 (took 23.331 seconds)
14:06:29 INFO: Creating historycache for /ws-local-upgrade/linux-uek-SPARC (GitRepository) without renamed file handling
14:07:00 INFO: Done historycache for /ws-local-upgrade/linux-uek-SPARC (took 31.150 seconds)

This is going to skew the indexer statistics for #3245.

Possibly this is related to ensureHistoryCacheExists() called in the 2nd phase of indexing.

@vladak vladak self-assigned this Oct 5, 2020
vladak pushed a commit to vladak/OpenGrok that referenced this issue Oct 8, 2020
@vladak vladak closed this as completed in 701fae2 Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant