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

[Usage counters] Use refresh=false #195619

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

afharo
Copy link
Member

@afharo afharo commented Oct 9, 2024

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

@afharo afharo added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc performance technical debt Improvement of the software architecture and operational architecture release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Oct 9, 2024
@afharo afharo requested a review from a team as a code owner October 9, 2024 14:42
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@afharo afharo self-assigned this Oct 9, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @afharo

@afharo afharo enabled auto-merge (squash) October 9, 2024 17:00
Copy link
Contributor

@gsoldevila gsoldevila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great find!

@afharo afharo merged commit 8ebd793 into elastic:main Oct 10, 2024
38 checks passed
@afharo afharo deleted the usage-counters/use-refresh-false branch October 10, 2024 07:15
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11269246942

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 10, 2024
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 10, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) performance release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc technical debt Improvement of the software architecture and operational architecture v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants