-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Query cache is not cleaned up in case of an index creation failure #48186
Labels
>bug
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
Comments
astefan
added
>bug
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
labels
Oct 17, 2019
Pinging @elastic/es-distributed (:Distributed/CRUD) |
DaveCTurner
added a commit
to DaveCTurner/elasticsearch
that referenced
this issue
Oct 18, 2019
Today it is possible that we create the `QueryCache` and then fail to create the owning `IndexService` and this means we do not close the `QueryCache` again. This commit addresses that leak. Fixes elastic#48186
DaveCTurner
added a commit
that referenced
this issue
Oct 21, 2019
Today it is possible that we create the `QueryCache` and then fail to create the owning `IndexService` and this means we do not close the `QueryCache` again. This commit addresses that leak. Fixes #48186
DaveCTurner
added a commit
that referenced
this issue
Oct 21, 2019
Today it is possible that we create the `QueryCache` and then fail to create the owning `IndexService` and this means we do not close the `QueryCache` again. This commit addresses that leak. Fixes #48186
DaveCTurner
added a commit
that referenced
this issue
Oct 21, 2019
Today it is possible that we create the `QueryCache` and then fail to create the owning `IndexService` and this means we do not close the `QueryCache` again. This commit addresses that leak. Fixes #48186
DaveCTurner
added a commit
to DaveCTurner/elasticsearch
that referenced
this issue
Oct 21, 2019
Today it is possible that we create the `QueryCache` and then fail to create the owning `IndexService` and this means we do not close the `QueryCache` again. This commit addresses that leak. Fixes elastic#48186
DaveCTurner
added a commit
that referenced
this issue
Oct 21, 2019
This was referenced Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
Creating an index with
index.mapper.dynamic
setting will fail in 7.x with something likeBut this seems to introduce a leak by creating the query cache before the index is created, and not cleaning the cache in case of failure. This manifests itself as
OptOutQueryCache
instances kept alive in heap, each of them referencing the non-existent, attempted-to-be-created-and-failedindexName
.The text was updated successfully, but these errors were encountered: