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 <jdcry...@apache.org> --- 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 <dral...@apache.org> Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org> Gerrit-Reviewer: Dinesh Bhat <din...@cloudera.com> Gerrit-Reviewer: Jean-Daniel Cryans <jdcry...@apache.org> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Todd Lipcon <t...@apache.org>