David Ribeiro Alves has uploaded a new change for review. http://gerrit.cloudera.org:8080/5304
Change subject: WIP: Add a way to get the physical time component of a hybrid timestamp ...................................................................... WIP: 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. WIP as it's still missing a small unit test. Change-Id: I1e5bcd7cb2e9c2b5ce1458c5366d28c385864b0a --- M src/kudu/server/clock.h M src/kudu/server/hybrid_clock.cc M src/kudu/server/hybrid_clock.h 3 files changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/5304/1 -- To view, visit http://gerrit.cloudera.org:8080/5304 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1e5bcd7cb2e9c2b5ce1458c5366d28c385864b0a Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: David Ribeiro Alves <dral...@apache.org>