David Ribeiro Alves has submitted this change and it was merged.

Change subject: Rename LogicalClock::NowForMetrics() to GetCurrentTime()
......................................................................


Rename LogicalClock::NowForMetrics() to GetCurrentTime()

This renames this method and makes it public. The reasoning is
twofold: NowForMetrics() used to actually increase the clock's
value, which doesn't seem right; It's handy to be able to get
the clock's current value for tests.

Change-Id: Iac6f8dd9e79657b81409127e539e509da4b2b8de
Reviewed-on: http://gerrit.cloudera.org:8080/4989
Tested-by: Kudu Jenkins
Reviewed-by: Jean-Daniel Cryans <[email protected]>
---
M src/kudu/server/logical_clock.cc
M src/kudu/server/logical_clock.h
2 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Jean-Daniel Cryans: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/4989
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iac6f8dd9e79657b81409127e539e509da4b2b8de
Gerrit-PatchSet: 6
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Dinesh Bhat <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to