Todd Lipcon has uploaded a new change for review.

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

Change subject: Avoid extra fsyncs of tombstoned tablets during startup
......................................................................

Avoid extra fsyncs of tombstoned tablets during startup

At startup, we roll-forward the deletion of any tombstoned
tablets. This is often redundant if the tablet is already
fully deleted (i.e. no blocks and no orphaned blocks).
In that case, we can skip the expensive fsync to speed up
startup.

Before this patch, a server with a few thousand tombstoned
tablets took ~6 minutes to start up (about ~100ms per tablet).
After the patch, it only took 1 second.

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


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I60cb184b8de2a6a381371ddcf2fb938a19757eec
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>

Reply via email to