Riza Suminto has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16552
Change subject: IMPALA-10220: Fix negative value bug in RpcNetworkTime counter. ...................................................................... IMPALA-10220: Fix negative value bug in RpcNetworkTime counter. Total RPC time was incorrectly computed using resp_.receiver_latency_ns() in function EndDataStreamCompleteCb(). This patch fix the bug by replacing it with eos_rsp_.receiver_latency_ns(). This patch also fix logging mistakes in LogSlowRpc() to use its 'resp' parameter instead of 'resp_' field member. Testing: - Manually run data loading query that exhibit the bug for several times and verify that the Min value of RpcNetworkTime counter is always positive after the patch. The query used in testing is insert query to TPC-DS fact table store_sales of scale 10GB in single machine mini cluster. - Add DCHECK to verify that total rpc time is greater than or equal to receiver_latency_ns. - Run and pass core tests. Change-Id: I2a4d65a3e0f88349bd4ee1b01290bd2c386acc69 --- M be/src/runtime/krpc-data-stream-sender.cc 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/52/16552/1 -- To view, visit http://gerrit.cloudera.org:8080/16552 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I2a4d65a3e0f88349bd4ee1b01290bd2c386acc69 Gerrit-Change-Number: 16552 Gerrit-PatchSet: 1 Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com>