Skip to content
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

Rebuild index async on boot #615

Closed
joepio opened this issue Mar 13, 2023 · 0 comments · Fixed by #617
Closed

Rebuild index async on boot #615

joepio opened this issue Mar 13, 2023 · 0 comments · Fixed by #617

Comments

@joepio
Copy link
Member

joepio commented Mar 13, 2023

When Atomic-Server starts with --initialize, we rebuild the index. Building the index is currently a blocking operation. This means Atomic-Server is offline while it is indexing. This means potential downtime for users. We could probably run the index command in a separate thread.

Doing this async means that it can happen that some Queries will return the 'wrong' results. This might break a test or two.

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

Successfully merging a pull request may close this issue.

1 participant