Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12313 )
Change subject: KUDU-2680: ignore tombstones when updating dirs ...................................................................... KUDU-2680: ignore tombstones when updating dirs Previously, when run without the --force configuration, the update_dirs tool would fail upon meeting a tombstoned tablet. This is because tombstones don't persist data dir groups, nor do they create them in-memory upon loading; and the update_dirs tool uses the existence of an in-memory data dir group to determine whether all tablets would be considered healthy while staging a new directory configuration. Since we don't expect tombstones to have data dir groups anyway, we shouldn't be gating update_dirs on them not having data dir groups. Change-Id: If39ec768e9328571adc3ed0ef69c6a9309f27989 Reviewed-on: http://gerrit.cloudera.org:8080/12313 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_fs.cc 2 files changed, 47 insertions(+), 3 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/12313 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If39ec768e9328571adc3ed0ef69c6a9309f27989 Gerrit-Change-Number: 12313 Gerrit-PatchSet: 3 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
