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

could not drop hosts #3639

Closed
HarrisChu opened this issue Jan 5, 2022 · 2 comments
Closed

could not drop hosts #3639

HarrisChu opened this issue Jan 5, 2022 · 2 comments
Assignees
Labels
need info Solution: need more information (ex. can't reproduce) type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

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

@HarrisChu HarrisChu added the type/bug Type: something is unexpected label Jan 5, 2022
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Jan 5, 2022
@Sophie-Xie Sophie-Xie added the need info Solution: need more information (ex. can't reproduce) label Jan 7, 2022
@darionyaphet
Copy link
Contributor

(root@nebula) [(none)]> show hosts
+-----------------+-------+----------+--------------+----------------------+------------------------+
| Host            | Port  | Status   | Leader count | Leader distribution  | Partition distribution |
+-----------------+-------+----------+--------------+----------------------+------------------------+
| "192.168.8.215" | 55560 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "Total"         |       |          | 0            |                      |                        |
+-----------------+-------+----------+--------------+----------------------+------------------------+
Got 2 rows (time spent 2576/3418 us)

Thu, 13 Jan 2022 10:53:19 CST

(root@nebula) [(none)]> show zones
+------------------------------------+-----------------+-------+
| Name                               | Host            | Port  |
+------------------------------------+-----------------+-------+
| "default_zone_192.168.8.215_55560" | "192.168.8.215" | 55560 |
+------------------------------------+-----------------+-------+
Got 1 rows (time spent 2811/3803 us)

Thu, 13 Jan 2022 10:53:23 CST

(root@nebula) [(none)]> drop hosts 192.168.8.215:55560
Execution succeeded (time spent 2849/3414 us)

Thu, 13 Jan 2022 10:53:30 CST

@darionyaphet
Copy link
Contributor

drop hosts 127.0.0.1:15171

seems the address missed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Solution: need more information (ex. can't reproduce) type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants