David Ribeiro Alves has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/9397
Reviewed-by: Todd Lipcon <t...@apache.org>
Tested-by: David Ribeiro Alves <davidral...@gmail.com>
---
M src/kudu/tablet/tablet.cc
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  David Ribeiro Alves: Verified

--
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: merged
Gerrit-Change-Id: Ia74abdf7d806efc4239dc9cff4a5da28621d331a
Gerrit-Change-Number: 9397
Gerrit-PatchSet: 4
Gerrit-Owner: David Ribeiro Alves <davidral...@gmail.com>
Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to