Csaba Ringhofer has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24174
Change subject: IMPALA-14881: Fix instance id in scanner threads ...................................................................... IMPALA-14881: Fix instance id in scanner threads Since IMPALA-6416 the instance id of new threads is inherited from parent thread instead of setting explicitly. This is not correct in case of scanner threads (mt_dop=0) when HdfsScanNode::ThreadTokenAvailableCb is called through ThreadResourcePool's callback where the thread can come from an unrelated query. Note that this issue only affects diagnostics. Testing: - tested manually by running parallel scan heavy queries and adding logging for fragment id in scanner thread - before the fix these log lines could contain two different instance ids Change-Id: I2ccfb94353843eaa83cf7371788d0fc151fd3e50 --- M be/src/exec/hdfs-scan-node.cc M be/src/exec/kudu/kudu-scan-node.cc 2 files changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/74/24174/1 -- To view, visit http://gerrit.cloudera.org:8080/24174 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I2ccfb94353843eaa83cf7371788d0fc151fd3e50 Gerrit-Change-Number: 24174 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]>
