Hao Hao has uploaded a new patch set (#2). Change subject: KUDU-1726: Avoid fsync-per-block in tablet copy ......................................................................
KUDU-1726: Avoid fsync-per-block in tablet copy This patch incorporates BlockTransaction API with tablet copy, to avoid fsync() on each block during copying. Blocks are sync to disk together once the table copy is complete. I did a manual test to copy tablet with size of ~37GB. With this change, the operation time dropped down from ~718s to ~523s. Change-Id: I73822754fa3537535478bdd9a017e1cdf5b03e9a --- M src/kudu/tserver/tablet_copy_client-test.cc M src/kudu/tserver/tablet_copy_client.cc M src/kudu/tserver/tablet_copy_client.h 3 files changed, 27 insertions(+), 14 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/7700/2 -- To view, visit http://gerrit.cloudera.org:8080/7700 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I73822754fa3537535478bdd9a017e1cdf5b03e9a Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins
