Closed
Description
cannot repeat, sometimes cannot drop hosts
(root@nebula) [(none)]> show hosts
+-------------+-------+----------+--------------+----------------------+------------------------+
| Host | Port | Status | Leader count | Leader distribution | Partition distribution |
+-------------+-------+----------+--------------+----------------------+------------------------+
| "127.0.0.1" | 15171 | "ONLINE" | 0 | "No valid partition" | "No valid partition" |
| "Total" | | | 0 | | |
+-------------+-------+----------+--------------+----------------------+------------------------+
Got 2 rows (time spent 2413/12182 us)
Wed, 05 Jan 2022 15:42:53 CST
(root@nebula) [(none)]> show zones
+----------------+-------------+-------+
| Name | Host | Port |
+----------------+-------------+-------+
| "default_zone" | "127.0.0.1" | 15171 |
+----------------+-------------+-------+
Got 1 rows (time spent 2481/11316 us)
Wed, 05 Jan 2022 15:42:55 CST
(root@nebula) [(none)]> drop hosts "172.0.0.1":15171
[ERROR (-1005)]: No hosts!
Wed, 05 Jan 2022 15:42:57 CST
but still can create space on this host
Activity