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


Change subject: Don't perform compactions when clean time has not been advanced
......................................................................

Don't perform compactions when clean time has not been advanced

Due to KUDU-2233 we might not advance safe time, and thus clean
time, at bootstrap causing possible corruption or crashes.

This patch adds a check to make sure that clean time has been
advanced at all before performing a compaction.

This is temporary fix until we have a more strict check like the
one proposed in https://gerrit.cloudera.org/#/c/8887/.

Change-Id: Ia74abdf7d806efc4239dc9cff4a5da28621d331a
---
M src/kudu/tablet/tablet.cc
1 file changed, 7 insertions(+), 0 deletions(-)



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

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

Reply via email to