You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix data race with AbstractPageMappingToIteratorOperator (#130963) (#130972)
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 #130573Closes#130959Closes#130958Closes#130950Closes#130925Closes#130881Closes#130796
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/AbstractPageMappingToIteratorOperator.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -321,6 +321,7 @@ public TransportVersion getMinimalSupportedVersion() {
0 commit comments