Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.8.0
-
None
Description
There is a potential race in our many usages of ExecNode::ReachedLimit() during execution from a different thread than the one updating rows_returned, e.g. scanner threads. The compiler in theory is free to notice that they're not updating rows_returned_ and hoist the load up out of loops, etc.
We should consider AtomicInt64 or NoBarrier_Load(...).
Attachments
Issue Links
- blocks
-
IMPALA-5904 Enable ThreadSanitizer for Impala
- Open