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

Handle delete of the index with multiple nginx workers #41

Open
rmind opened this issue Mar 4, 2023 · 0 comments
Open

Handle delete of the index with multiple nginx workers #41

rmind opened this issue Mar 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rmind
Copy link
Owner

rmind commented Mar 4, 2023

If the index gets deleted, see see here, the other nginx workers won't pick it up. Since references use LRU with TTL, it will eventually get G/C-ed and closed. However, this doesn't work if index is deleted and immediatelly re-created. This can be fixed either on the OpenResty side or the nxsearch lib.

@rmind rmind added the bug Something isn't working label Mar 4, 2023
@toloco toloco self-assigned this Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants