Hello Adar Dembo,

I'd like you to do a code review. Please visit

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

to review the following change.


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
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_fs.cc
2 files changed, 45 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/13/12313/1
--
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: newchange
Gerrit-Change-Id: If39ec768e9328571adc3ed0ef69c6a9309f27989
Gerrit-Change-Number: 12313
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>

Reply via email to