You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of a long GC searchers might be released twice once by the reaper and once by the actual releasing thread. It's a cosmetic problem since we protect from double releasing but we should fix it.
This has been seen in the field:
org.elasticsearch.ElasticsearchIllegalStateException: Double release
at org.elasticsearch.index.engine.internal.InternalEngine$EngineSearcher.close(InternalEngine.java:1512)
at org.elasticsearch.common.lease.Releasables.close(Releasables.java:45)
at org.elasticsearch.common.lease.Releasables.close(Releasables.java:60)
at org.elasticsearch.common.lease.Releasables.close(Releasables.java:65)
at org.elasticsearch.search.internal.DefaultSearchContext.doClose(DefaultSearchContext.java:212)
at org.elasticsearch.search.internal.SearchContext.close(SearchContext.java:96)
at org.elasticsearch.search.SearchService.freeContext(SearchService.java:560)
at org.elasticsearch.search.SearchService.access$100(SearchService.java:97)
at org.elasticsearch.search.SearchService$Reaper.run(SearchService.java:957)
The text was updated successfully, but these errors were encountered:
clintongormley
changed the title
[CORE] Searcher might be released twice in the case of a LONG GC
Internal: Searcher might be released twice in the case of a LONG GC
Sep 8, 2014
Today there are two different ways to cleanup search contexts which can
potentially lead to double releasing of a context. This commit unifies
the methods and prevents double closing.
Closeselastic#7625
Today there are two different ways to cleanup search contexts which can
potentially lead to double releasing of a context. This commit unifies
the methods and prevents double closing.
Closes#7625
Today there are two different ways to cleanup search contexts which can
potentially lead to double releasing of a context. This commit unifies
the methods and prevents double closing.
Closes#7625
Today there are two different ways to cleanup search contexts which can
potentially lead to double releasing of a context. This commit unifies
the methods and prevents double closing.
Closeselastic#7625
In the case of a long GC searchers might be released twice once by the reaper and once by the actual releasing thread. It's a cosmetic problem since we protect from double releasing but we should fix it.
This has been seen in the field:
The text was updated successfully, but these errors were encountered: