You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@cloudera.org> on 2016/12/02 12:24:08 UTC
[kudu-CR] Add a way to get the physical time component of a hybrid timestamp
Hello Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/5304
to look at the new patch set (#2).
Change subject: Add a way to get the physical time component of a hybrid timestamp
......................................................................
Add a way to get the physical time component of a hybrid timestamp
This adds a new method to Clock:
MonoTime PhysicalComponentOfTimestamp(Timestamp a) const
This allows to obtain a MonoTime representing the physical timestamp
of a hybrid timestamp. For instance, this can be used to calculate
how far back in the past safe time hybrid timestamp is.
Change-Id: I1e5bcd7cb2e9c2b5ce1458c5366d28c385864b0a
---
M src/kudu/server/clock.h
M src/kudu/server/hybrid_clock-test.cc
M src/kudu/server/hybrid_clock.cc
M src/kudu/server/hybrid_clock.h
4 files changed, 32 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/5304/2
--
To view, visit http://gerrit.cloudera.org:8080/5304
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1e5bcd7cb2e9c2b5ce1458c5366d28c385864b0a
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <dr...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot