Skip to content

[Usage counters] Use refresh=false#195619

Merged
afharo merged 1 commit intoelastic:mainfrom
afharo:usage-counters/use-refresh-false
Oct 10, 2024
Merged

[Usage counters] Use refresh=false#195619
afharo merged 1 commit intoelastic:mainfrom
afharo:usage-counters/use-refresh-false

Conversation

@afharo
Copy link
Copy Markdown
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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// 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 labels Oct 9, 2024
@afharo afharo requested a review from a team as a code owner October 9, 2024 14:42
@elasticmachine
Copy link
Copy Markdown
Contributor

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

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

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @afharo

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

@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
@afharo afharo deleted the usage-counters/use-refresh-false branch October 10, 2024 07:15
@kibanamachine
Copy link
Copy Markdown
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
Copy Markdown
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":"alejandro.haro@elastic.co"},"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 <alejandro.haro@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// 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