picodata status
Implement a CLI command picodata status
, which prints all current members of the cluster and their status.
It shouild print:
Cluster ID: Cluster Name: name
Then something like a select * from system._peer but with the following fields:
| status | instance_name | instance_uuid | replicaset_uuid | tier | advertise_uri |
By default, connect to default --peer, or support --peer argument.
We should have enough details to be able to connect to physical host.
Sort by status, first show alive instances
Edited by Егор Ивков