Affects Version/s: 2.0.0-M6
Fix Version/s: 2.0.0-M8
There are many case where the server will freeze if users don't correctly close the cursors they get when doing a search :
- in JNDI, but forgotten to close a NamingEnumeration (very frequent use case !)
- when many users create PagedSearches that last for a very long period of time...
- when a client brutally disconnect (no alert will be sent to the server, letting the cursor pending until the timeout is reached)
There is no way we can solve those issues by increasing the LRUCache size.
The only possible solution would be to allow some search to be proceeded outside of any read transaction. That would also imply we deal with ID which have been invalidated due to a modification. In fact, a Search should allow phantom reads.
In any case, for internal searches, we should keep a transaction support for searches.