Skip to content

Conversation

jdconrad
Copy link
Contributor

Backports the following commits to 8.19:

CloseableByteBuffer currently only uses confined Arena 
for buffer allocation meaning only the thread creating 
the Arena is allowed to access the native memory. When 
using elasticsearch with systemd, our notify-extend 
message is executed on a thread separate from where 
the native memory was allocated. This is causing a 
RuntimeException to be thrown. This changes 
CloseableByteBuffer to allow for a shared Arena as 
well for systemd.
@jdconrad jdconrad added :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Sep 23, 2025
@elasticsearchmachine elasticsearchmachine merged commit 8552488 into elastic:8.19 Sep 23, 2025
23 checks passed
@jdconrad jdconrad deleted the backport/8.19/pr-135235 branch September 23, 2025 19:23
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 :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown Team:Core/Infra Meta label for core/infra team v8.19.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants