Andrew Wong has uploaded a new change for review. http://gerrit.cloudera.org:8080/7028
Change subject: disk failure: make DataDirManager failure-aware ...................................................................... disk failure: make DataDirManager failure-aware The DataDirManager must record what directories are unhealthy in order to avoid placing new data on failed disks. This patch achieves this by maintaining a set of UUID indices in the DataDirManager that correspond to failed directories. Tests are added to data_dirs-test to ensure that failed directories are not used and are not returned as part of newly created DataDirGroups. If no healthy directories exist, callers will return an IOError with posix code ENODEV. Change-Id: Iee212793152de5de5198751d649ab34fb97f6aa2 --- M src/kudu/fs/data_dirs-test.cc M src/kudu/fs/data_dirs.cc M src/kudu/fs/data_dirs.h 3 files changed, 126 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/7028/1 -- To view, visit http://gerrit.cloudera.org:8080/7028 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iee212793152de5de5198751d649ab34fb97f6aa2 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Andrew Wong <aw...@cloudera.com>