Sahil Takiar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15363


Change subject: IMPALA-5904: (part 3) Fix more TSAN bugs
......................................................................

IMPALA-5904: (part 3) Fix more TSAN bugs

As of this commit, all backend tests are TSAN clean (or suppressions
exist for any races that are considered benign).

TSAN Fixes:
* Fixes IMPALA-9374: Possible data race in TupleDescriptor::GetLlvmStruct
    * Moves the assignment of SlowDescriptor::llvm_field_idx_ from
      TupleDescriptor::GetLlvmStruct to DescriptorTbl::CreateInternal
* Data race in be/src/exprs/scalar-expr-evaluator.cc:285:26
  impala::ScalarExprEvaluator::GetValue(...)
    * This race seems specific to data-stream-test, and does not occur
      during any other tests
    * I made some changes to DataStreamTest to fix the sharing of
      TupleRowComparators between threads

Suppresions:
* Added a suppresion for IMPALA-9455: Possible data race in
  kudu::security::InitKerberosForServer
* Added suppresions for hs2-http-test since it uses the ThriftServer, which
  is known to be racey (IMPALA-9314)

Testing:
* Ran core tests
* Re-ran TSAN tests and confirmed the data races have been fixed

Change-Id: I99b7b119e256085d1ba6977e1161fc658273b242
---
M be/src/rpc/hs2-http-test.cc
M be/src/runtime/data-stream-test.cc
M be/src/runtime/descriptors.cc
M bin/tsan-suppressions.txt
4 files changed, 41 insertions(+), 15 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/15363/1
--
To view, visit http://gerrit.cloudera.org:8080/15363
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99b7b119e256085d1ba6977e1161fc658273b242
Gerrit-Change-Number: 15363
Gerrit-PatchSet: 1
Gerrit-Owner: Sahil Takiar <[email protected]>

Reply via email to