package
0.0.0-20241015020659-6a7bfd8ac3eb
Repository: https://github.com/jeyrce/howto.git
Documentation: pkg.go.dev

# README

root@jianxin-PC:~# docker exec -it f43cf4537cee etcdctl --endpoints=http://node-1:2379,http://node-2:2379,http://node-3:2379 -w table endpoint status
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
|      ENDPOINT      |        ID        | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
| http://node-1:2379 | c738e0fe0f7b021f |   3.5.6 |   20 kB |     false |      false |         3 |         37 |                 37 |        |
| http://node-2:2379 | ee4dffab392a68ed |   3.5.6 |   20 kB |      true |      false |         3 |         37 |                 37 |        |
| http://node-3:2379 | 48ce1537d7f0b0a1 |   3.5.6 |   20 kB |     false |      false |         3 |         37 |                 37 |        |
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+