-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Usage counters] Use refresh=false
#195619
Conversation
Pinging @elastic/kibana-core (Team:Core) |
💚 Build Succeeded
Metrics [docs]
cc @afharo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great find!
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11269246942 |
(cherry picked from commit 8ebd793)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…195705) # Backport This will backport the following commits from `main` to `8.x`: - [[Usage counters] Use `refresh=false` (#195619)](#195619) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-10T07:15:46Z","message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","performance","technical debt","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Usage counters] Use `refresh=false`","number":195619,"url":"https://github.com/elastic/kibana/pull/195619","mergeCommit":{"message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195619","number":195619,"mergeCommit":{"message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <[email protected]>
Summary
Usage Counters are updated by known IDs. We shouldn't need hold the update requests (and keep their sockets blocked) waiting for refreshes.
Checklist
For maintainers