Andrew Sherman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20798
Change subject: IMPALA-12632: Use Atomics for CpuUsageRatio counters ...................................................................... IMPALA-12632: Use Atomics for CpuUsageRatio counters Now that IMPALA-12614 is fixed we see another data race in TSAN builds. Fix this by using the same strategy as IMPALA-12614, and use AtomicInt32 for the CpuUsageRatios values. Testing: TSAN tests cover this case. Change-Id: I373cb8ae1a45e5ec07318ccb5870e65efc906cca --- M be/src/runtime/query-state.cc M be/src/util/system-state-info-test.cc M be/src/util/system-state-info.cc M be/src/util/system-state-info.h 4 files changed, 17 insertions(+), 17 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/98/20798/1 -- To view, visit http://gerrit.cloudera.org:8080/20798 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I373cb8ae1a45e5ec07318ccb5870e65efc906cca Gerrit-Change-Number: 20798 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Sherman <[email protected]>
