You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2016/11/16 03:43:03 UTC

[kudu-CR] [Timestamp] use 'operator<' instead of ComesBefore

Alexey Serbin has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/5102

Change subject: [Timestamp] use 'operator<' instead of ComesBefore
......................................................................

[Timestamp] use 'operator<' instead of ComesBefore

Added more syntactic sugar, now for the kudu::Timestamp class:
use operator{<, <=, >, <=, ==} instead of Timestamp::ComesBefore()
and Timestamp::CompareTo(), where possible.
Also, did a minor clean-up on the set of header files and forward
declarations.

This patch does not contain any functional changes.

Change-Id: I4a5b0f90e92f6de40822cfe872b417cf0c53121a

more

Change-Id: If8ced51f990b16eef3d5675aa951b7a509ba7480
---
M src/kudu/common/timestamp.cc
M src/kudu/common/timestamp.h
M src/kudu/server/hybrid_clock.cc
M src/kudu/tablet/compaction.h
M src/kudu/tablet/delta_stats.cc
M src/kudu/tablet/mvcc-test.cc
M src/kudu/tablet/mvcc.cc
M src/kudu/tablet/mvcc.h
M src/kudu/tserver/tablet_service.cc
9 files changed, 75 insertions(+), 54 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/5102/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5102
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If8ced51f990b16eef3d5675aa951b7a509ba7480
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>

[kudu-CR] [Timestamp] use 'operator<' instead of ComesBefore

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has abandoned this change.

Change subject: [Timestamp] use 'operator<' instead of ComesBefore
......................................................................


Abandoned

submitted wrong change

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

Gerrit-MessageType: abandon
Gerrit-Change-Id: If8ced51f990b16eef3d5675aa951b7a509ba7480
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins