Skip to content

signal to the webapp once partial reindex is done #1187

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 Sep 16, 2016 · 3 comments · Fixed by #1423
Closed

signal to the webapp once partial reindex is done #1187

vladak opened this issue Sep 16, 2016 · 3 comments · Fixed by #1423
Assignees
Milestone

Comments

@vladak
Copy link
Member

vladak commented Sep 16, 2016

Once the configuration listener protocol is extended so that allows more than just Configuration object to be passed, the protocol should be further extended so that partial reindex notifies the webapp to call maybeRefresh() on specific SearcherManager objects. This is a follow-up to the changes for #1132.

@tarzanek
Copy link
Contributor

@tulinkry I think you have this ready with your messaging addition to listener, no ?

@tulinkry
Copy link
Contributor

tulinkry commented Sep 23, 2016

Yes. Not ready but on the way

@vladak vladak added this to the 0.13 milestone Oct 7, 2016
@vladak
Copy link
Member Author

vladak commented Oct 7, 2016

Also, with this change it would be good to relax the IndexRefreshPeriod which is currently set to 1 minute so every minute the webapp tries to reopen the indexes which causes syscall and I/O churn.

@vladak vladak self-assigned this Feb 16, 2017
vladak added a commit to vladak/OpenGrok that referenced this issue Feb 17, 2017
vladak pushed a commit that referenced this issue Feb 20, 2017
* refresh SearcherManagers after partial reindex
fixes #1187

* override applyMessage

* add validation

* document
ozankiraz pushed a commit to ozankiraz/OpenGrok that referenced this issue Feb 28, 2017
* refresh SearcherManagers after partial reindex
fixes oracle#1187

* override applyMessage

* add validation

* document
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants