Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
During query cancellation, in case PartitionerDecorator.executeMethodLogic() is active (waiting on the latch), the wait will be interrupted and Futures cancelled, but there is no guarantee that all CustomRunnable terminate before returning from PartitionerDecorator.executeMethodLogic(). On exit, both income and outgoing batches are cleared, leading to clearing of underlying Vectors and DrillBufs. This eventually causes unallocated memory access and JVM crash as CustomRunnable may execute after income/outgoing batches are cleared.
Attachments
Issue Links
- causes
-
DRILL-6252 Foreman node is going down when the non foreman node is stopped
- Resolved
- links to