Hao Hao has uploaded a new change for review.

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

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: I7534699f589c7060ffe32d7ac67546476cf21e76
---
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/01/7701/1
-- 
To view, visit http://gerrit.cloudera.org:8080/7701
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

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

Reply via email to