Skip to content

running without -H causes "warning" message about history based reindex #4747

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

Open
vladak opened this issue Mar 19, 2025 · 1 comment
Open

Comments

@vladak
Copy link
Member

vladak commented Mar 19, 2025

By default the history is off however history based reindex is on (on global level, i.e. in Configuration) so when the indexer runs it will emit a message about the discrepancy:

INFO: History based reindex is on, however history is off. History has to be enabled for history based reindex.

There should be better way to handle this.

@vladak
Copy link
Member Author

vladak commented Mar 19, 2025

One idea would be to disable the global history based reindex if global history is off, however that would thwart per project override if the project is partially filled (i.e. missing the historyBasedReindex project property). It might make sense to move this sort of check to project level and perform it in the first phase of indexing or perhaps in Project#completeWithDefaults(), however that would spam the log with warning messages, one for each such project.

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