 Maxim FedotovandGitHub
|
623b594539
|
patronictl add ability to print ASCII topology (#1576)
Example:
```bash
$ patronictl topology
+ Cluster: batman (6834835313225022118) -----+---------+----+-----------+------------------------------------------------+
| Member | Host | Role | State | TL | Lag in MB | Tags |
+-----------------+----------------+---------+---------+----+-----------+------------------------------------------------+
| postgresql0 | localhost:5432 | Leader | running | 2 | | |
| + postgresql1 | localhost:5433 | Replica | running | 2 | 0.0 | |
| + postgresql2 | localhost:5434 | Replica | running | 2 | 0.0 | {nofailover: true, replicatefrom: postgresql1} |
+-----------------+----------------+---------+---------+----+-----------+------------------------------------------------+
```
|
2020-06-12 15:23:42 +02:00 |
|