Skip to content
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

tt status: give more status information #836

Open
Totktonada opened this issue May 3, 2024 · 0 comments
Open

tt status: give more status information #836

Totktonada opened this issue May 3, 2024 · 0 comments

Comments

@Totktonada
Copy link
Member

tt status prints an instance in the green color in the following situations:

  • config:info() reports startup_in_progress status, because a replicaset bootstrap process waits for a quorum of instances.
  • config:info() reports errors after a reload.
  • box.info reports the orphan status.
  • All the instances are read-only due to a mistake in a login or a password in the replication configuration (box.info.replication reports errors) -- see also tt status: show RO/RW status #835.

I propose to print such instances in a yellow color and give all the collected warnings/errors.

I think that a preferred way to collect the status information is a control socket (console), but it is OK to use iproto as a backup way (for example, if the instance is on a remote machine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant