Francois Saint-Jacques created ARROW-8874: ---------------------------------------------
Summary: [C++][Dataset] Scanner::ToTable race when ScanTask exit early with an error Key: ARROW-8874 URL: https://issues.apache.org/jira/browse/ARROW-8874 Project: Apache Arrow Issue Type: Bug Reporter: Francois Saint-Jacques https://github.com/apache/arrow/pull/7180#issuecomment-631059751 The issue is when [Finish|https://github.com/apache/arrow/blob/master/cpp/src/arrow/dataset/scanner.cc#L184-L208] exit early due to a ScanTask error, in-flight tasks may try to lock the out-of-scope mutex. -- This message was sent by Atlassian Jira (v8.3.4#803005)