-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
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
Support for disabling health check #1336
Comments
I think such commands should just never do the health check (but we can add a command that does just that). This could be achieved by supplying an option to the chain runtime when starting it, but there is no need to expose this in the config file or the CLI options (aside perhaps for the |
Perfect timing for this suggestion, Romain. Mircea and I were reading your idea and concluded it would be the best way to go forward. It seems not even the Concrete notes after discussing with Cephalopod:
|
@adizere and @romac, I will look into this one. Also for the health check for the This endpoint might provide a better performance and these params can be changed through governance so it's better to take a value close to the latest block height available to ensure it's accurate. The genesis value might not reflect the current value for that parameter. |
…art` (#1361) * Initial implementation logic for the health-check command (#1336) * Move health check code in `Chain::health_check` * Perform health check on supervisor start * Improve output of `health-check` command * Use the `/consensus_params` endpoint to get the max block size * Update comment * Display non-debug chain id in health check command * Use `latest_consensus_params` endpoint * Revert to using tendermint-rs master * Add .changelog entry * Remove stacktrace from health check logs Co-authored-by: Andy Nogueira <me@andynogueira.dev> Co-authored-by: Romain Ruetschi <romain@informal.systems>
…art` (informalsystems#1361) * Initial implementation logic for the health-check command (informalsystems#1336) * Move health check code in `Chain::health_check` * Perform health check on supervisor start * Improve output of `health-check` command * Use the `/consensus_params` endpoint to get the max block size * Update comment * Display non-debug chain id in health check command * Use `latest_consensus_params` endpoint * Revert to using tendermint-rs master * Add .changelog entry * Remove stacktrace from health check logs Co-authored-by: Andy Nogueira <me@andynogueira.dev> Co-authored-by: Romain Ruetschi <romain@informal.systems>
Crate
relayer-cli
Summary
A feedback from the Cephalopod ops team is that they would like a method to optionally disable the health checkup that Hermes does indiscriminately.
Problem Definition
Whenever Hermes starts up, before running any command, it runs a health checkup mechanism that involves a few rounds of RPC calls to each chain. This functionality is especially useful for users who have not much experience with using Hermes (because the health check can surface problems that would otherwise be hidden cf informalsystems/ibc-rs#697). The functionality, however, is not very useful for power-users such as relayer operators.
The health checkup involves pulling the genesis file, and some chains (e.g., hub-4) have very large genesis files (~100MB). This means that the health check is a liability slowing down the whole ops process.
Proposal
A new option is necessary to allow disabling the health checkup mechanism.
This is necessary in particular for CLIs such as:
tx raw packet-recv
,packet-ack
,query unreceived-acks
orquery unreceived-packets
.Acceptance Criteria
Disable the health checkup mechanism for all existing CLIs
Add a new CLI
hermes health-check
For Admin Use
The text was updated successfully, but these errors were encountered: