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

Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed - during shutdown #23

Closed
Shazwazza opened this issue Jul 15, 2015 · 0 comments
Milestone

Comments

@Shazwazza
Copy link
Owner

When running under stress tests that shuts down the appdomain very often while also trying to view search results, an exception may occur:

Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed

This is because when the app domain is shutdown, the reader is closed, but at the same time another request might still be iterating it. So we need to only close the reader at the last possible moment just before the appdomain terminates.

@Shazwazza Shazwazza added this to the v0.1.65 milestone Jul 15, 2015
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

No branches or pull requests

1 participant