Impala Public Jenkins has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/24174
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/exec/hdfs-scan-node.cc
M be/src/exec/kudu/kudu-scan-node.cc
2 files changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Zoltan Borok-Nagy: Looks good to me, approved
  Michael Smith: Looks good to me, but someone else must approve
  Impala Public Jenkins: Verified

--
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: merged
Gerrit-Change-Id: I2ccfb94353843eaa83cf7371788d0fc151fd3e50
Gerrit-Change-Number: 24174
Gerrit-PatchSet: 2
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to