Hello Jean-Daniel Cryans, Mike Percy, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/4915
to look at the new patch set (#2).
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/integration-tests/delete_table-test.cc
M src/kudu/integration-tests/external_mini_cluster_fs_inspector.cc
M src/kudu/integration-tests/external_mini_cluster_fs_inspector.h
M src/kudu/tablet/tablet_metadata.cc
4 files changed, 43 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/4915/2
--
To view, visit http://gerrit.cloudera.org:8080/4915
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I60cb184b8de2a6a381371ddcf2fb938a19757eec
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>