Thomas Tauber-Marshall has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16296


Change subject: IMPALA-10053: Remove uses of MonoTime::GetDeltaSince()
......................................................................

IMPALA-10053: Remove uses of MonoTime::GetDeltaSince()

MonoTime is a utility Impala imports from Kudu. The behavior of
MonoTime::GetDeltaSince() was accidentally flipped in
https://gerrit.cloudera.org/#/c/14932/ so we're getting negative
durations where we expect positive durations.

The function is deprecated anyways, so this patch removes all uses of
it and replaces them with the MonoTime '-' operator.

Testing:
- Manually ran with and without patch and inspected calculated values.
- Added DCHECKs to prevent sucn an issue from occurring again.

Change-Id: If8cd3eb51a4fd101bbe4b9c44ea9be6ea2ea0d06
---
M be/src/runtime/krpc-data-stream-recvr.cc
M be/src/runtime/krpc-data-stream-sender.cc
M be/src/service/data-stream-service.cc
3 files changed, 7 insertions(+), 2 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If8cd3eb51a4fd101bbe4b9c44ea9be6ea2ea0d06
Gerrit-Change-Number: 16296
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Tauber-Marshall <tmarsh...@cloudera.com>

Reply via email to