Skip to content

Conversation

szybia
Copy link
Contributor

@szybia szybia commented Aug 20, 2025

Backports the following commits to 8.18:

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 1a584b0 into elastic:8.18 Aug 20, 2025
16 checks passed
@szybia szybia deleted the backport/8.18/pr-132922 branch August 20, 2025 18:59
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 v8.18.6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants