Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-10
Description
From Todd L. on an email chain about enabling TSAN:
One point, though, is that for TSAN to work well, you need to instrument
thirdparty libs as well, so we'd need to start from native-toolchain and
work our way up.
Currently, all thirdparty libs from Impala's native-toolchain are release builds, we need to have TSAN-enabled builds (e.g. compile with fsanitize=thread) in order to get TSAN to work for thirdparty libs as well. We enabled the TSAN flag ignore_noninstrumented_modules to suppress all the TSAN warnings from the JVM. So we currently can't use TSAN for any code that cross third-party libs (e.g. we probably can't catch any data races that involve boost::mutex).