You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Wang Xixu (Code Review)" <ge...@cloudera.org> on 2024/03/01 03:16:55 UTC

[kudu-CR] [Tool] Return not OK status when copying tablets failed

Hello Alexey Serbin, Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: [Tool] Return not OK status when copying tablets failed
......................................................................

[Tool] Return not OK status when copying tablets failed

Currently, 'local_replica copy_from_remote' command does not
return a non-OK status when some tablets copying failed. Therefore
it is not possible to use the return status to know whether it is
failed or succeeded. Only the log can show some useful message.

This patch fixes this problem so now the CLI tool exits with non-OK
status code when some tablets failed to copy.

Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_local_replica.cc
2 files changed, 35 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/89/21089/3
-- 
To view, visit http://gerrit.cloudera.org:8080/21089
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2
Gerrit-Change-Number: 21089
Gerrit-PatchSet: 3
Gerrit-Owner: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)