Skip to content

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jul 10, 2025

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

)

We need to release the blocks of the page in
AbstractPageMappingToIteratorOperator immediately in single-iteration
cases, instead of delaying to the next iteration. This is because the
blocks of the page are now shared with the output page. The output page
can be passed to a separate driver, which may run concurrently with this
driver, leading to data races in AbstractNonThreadSafeRefCounted, which
is not thread-safe.

An alternative would be to make RefCounted for Vectors/Blocks
thread-safe when they are about to be shared with other drivers via

Relates elastic#130573

Closes elastic#130959
Closes elastic#130958
Closes elastic#130950
Closes elastic#130925
Closes elastic#130881
Closes elastic#130796
@dnhatn dnhatn added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jul 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit d007ad0 into elastic:9.1 Jul 10, 2025
34 checks passed
@dnhatn dnhatn deleted the backport/9.1/pr-130963 branch July 10, 2025 02:24
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 v9.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants