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
APM Server version (apm-server version): All APM servers using ES fetchers
Description of the problem including expected versus actual behavior: Too many scroll contexts are getting created in Elasticsearch. Looking at the code, we don't seem to be clearing the scroll context when the refresh encounters an error which could lead to scroll contexts piling up.
Steps to reproduce:
We can probably observe this locally by simulating an error in the metadata fetcher's refresh call (ref).
Provide logs (if relevant):
In a deployment reporting this error a lot of refresh cache error: context deadline exceeded can be observed.
The text was updated successfully, but these errors were encountered:
Putting it as high impact and urgency because, IIANM, APM-Server hogging all the scroll context limit in Elasticsearch might cause other search requests relying on scroll context to start failing - this is based on my understanding so far.
APM Server version (
apm-server version
): All APM servers using ES fetchersDescription of the problem including expected versus actual behavior: Too many scroll contexts are getting created in Elasticsearch. Looking at the code, we don't seem to be clearing the scroll context when the refresh encounters an error which could lead to scroll contexts piling up.
Steps to reproduce:
We can probably observe this locally by simulating an error in the metadata fetcher's refresh call (ref).
Provide logs (if relevant):
In a deployment reporting this error a lot of
refresh cache error: context deadline exceeded
can be observed.The text was updated successfully, but these errors were encountered: