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

[8.x] fix: clear scroll after completing scroll requests (backport #14551) #14631

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 14, 2024

Motivation/summary

clear the search context using a clear scroll request for sourcemap and agentcfg search scroll requests

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

Related to #14619


This is an automatic backport of pull request #14551 done by [Mergify](https://mergify.com).

* fix: clear scroll after completing scroll requests

clear the search context using a clear scroll request
for sourcemap and agentcfg search scroll requests

* lint: fix linter issues

* fix: clear scroll on error too

* test: validate scrollID when clearing

* test: increase sourcemap test coverage to use scroll requests

* feat: log failed clear scroll requests

* Update elasticsearch.go

* Update metadata_fetcher.go

(cherry picked from commit 9487f8d)
@mergify mergify bot requested a review from a team as a code owner November 14, 2024 10:05
@mergify mergify bot added the backport label Nov 14, 2024
@mergify mergify bot merged commit cf08609 into 8.x Nov 14, 2024
13 checks passed
@mergify mergify bot deleted the mergify/bp/8.x/pr-14551 branch November 14, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant