We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some automated scripts, it is hard to tell if a command succeeds because pd-ctl returns 0 on error.
For example:
[root@tidb-cluster-tikv-0 /]# /pd-ctl -u "$PD_ADDRESS" store delete addr "" address not found: [root@tidb-cluster-tikv-0 /]# echo $? 0
The text was updated successfully, but these errors were encountered:
PTAL @JackL9u
Sorry, something went wrong.
store_command: propagate the error code to the root command (#8798)
bb4c437
ref #8762 Signed-off-by: Boyang Lyu <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
No branches or pull requests
Enhancement Task
In some automated scripts, it is hard to tell if a command succeeds because pd-ctl returns 0 on error.
For example:
The text was updated successfully, but these errors were encountered: