David Ribeiro Alves has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9396


Change subject: Optionally advance safe time with non-write operations
......................................................................

Optionally advance safe time with non-write operations

We currently have a problem with safe time advancement when
there are no write messages in the WAL. Because of KUDU-2233,
NO_OP and CHANGE_CONFIG messages are not guaranteed to have
monotonic timestamps, which forced us to ignore them in the
past. This can cause compactions to execute with a timestamp
that is in the beginning of time, causing corruption or crashes.

This patch enables us to advance safe time for all messages
if a flag a set.

Once KUDU-2233 is solved we can flip the flag or remove it
altogether.

Change-Id: I99de2284ba1626581c6e0770c823fd1ba714c1d7
---
M src/kudu/tablet/tablet_bootstrap.cc
1 file changed, 11 insertions(+), 6 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: branch-1.5.x
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99de2284ba1626581c6e0770c823fd1ba714c1d7
Gerrit-Change-Number: 9396
Gerrit-PatchSet: 1
Gerrit-Owner: David Ribeiro Alves <davidral...@gmail.com>

Reply via email to