Hao Hao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10728
Change subject: KUDU-2191: Correct error handling in Metadata upgrade tool ...................................................................... KUDU-2191: Correct error handling in Metadata upgrade tool Currently, the metadata upgrade tool does not handle failure correctly if an error occurrs after a successful change in Kudu or the HMS entry. This commit adds the logic to roll back such change if any failures occurs. It also adds a negative test for metadata upgdate tool to test the roll back mechanism actually works.. Change-Id: Ie1d3ae49e03f5c3cc809846fee4fcde885aff25f --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_hms.cc 2 files changed, 93 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/10728/1 -- To view, visit http://gerrit.cloudera.org:8080/10728 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie1d3ae49e03f5c3cc809846fee4fcde885aff25f Gerrit-Change-Number: 10728 Gerrit-PatchSet: 1 Gerrit-Owner: Hao Hao <[email protected]>
