Skip to content

Conversation

szybia
Copy link
Contributor

@szybia szybia commented Aug 20, 2025

Backports the following commits to 9.0:

From the javadocs:

> [`LongAdder`] is usually preferable to `AtomicLong` when multiple threads update a common sum that is used for purposes such as collecting statistics, not for fine-grained synchronization control.

Since we largely write stats and read very infrequently, let's avoid any lock-contention possibilities by switching to the more appropriate data type.
@szybia szybia added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Data Management Meta label for data/management team labels Aug 20, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9cec1b3 into elastic:9.0 Aug 20, 2025
19 checks passed
@szybia szybia deleted the backport/9.0/pr-132922 branch August 20, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v9.0.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants