Andrew Wong has uploaded a new change for review.

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

Change subject: mini_server: support servers data dirs
......................................................................

mini_server: support servers data dirs

This patch gives MiniTabletServers the ability to start with multiple
data dirs. A number of dirs is specified and directory names are
generated for the specified number. The original directory will remain
as the WAL's directory.

E.g. if the number of data dirs is 3, the following directories will
be generated:
/test_dir/test_tserver_wal_dir
/test_dir/test_tserver_data_dir-0
/test_dir/test_tserver_data_dir-1
/test_dir/test_tserver_data_dir-2

instead of:
/test_dir/test_tserver

A test is added to tablet_server-test to exercise this.

Change-Id: I52c9352f1a3565d58149cf2c63d37246c6b39c23
---
M src/kudu/tserver/mini_tablet_server.cc
M src/kudu/tserver/mini_tablet_server.h
M src/kudu/tserver/tablet_server-test-base.h
M src/kudu/tserver/tablet_server-test.cc
4 files changed, 32 insertions(+), 6 deletions(-)


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

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

Reply via email to