Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14122 )
Change subject: KUDU-2907: add a dir to dir groups when full ...................................................................... KUDU-2907: add a dir to dir groups when full This patch extends the directory-picking behavior when selecting directories for new blocks if all directories in the given tablet's group are full. It now allows the expansion of a tablet's data dir group if healthy directories are available. This doesn't change the policy for picking directories for groups; it only extends the usage of the policy to potentially add directories when getting a directory for a new block. Change-Id: Ic8e05bdfe1fc2ac0e7152d493f289d3ac6e850d7 Reviewed-on: http://gerrit.cloudera.org:8080/14122 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Andrew Wong <[email protected]> --- M src/kudu/fs/data_dirs-test.cc M src/kudu/fs/data_dirs.cc M src/kudu/fs/data_dirs.h M src/kudu/fs/file_block_manager.cc M src/kudu/fs/log_block_manager.cc M src/kudu/tserver/tablet_server-test.cc M src/kudu/util/env_util.cc 7 files changed, 336 insertions(+), 74 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Andrew Wong: Verified -- To view, visit http://gerrit.cloudera.org:8080/14122 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic8e05bdfe1fc2ac0e7152d493f289d3ac6e850d7 Gerrit-Change-Number: 14122 Gerrit-PatchSet: 11 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Reviewer: ZhangYao <[email protected]>
