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

divide zone into itself #3727

Closed
HarrisChu opened this issue Jan 14, 2022 · 0 comments · Fixed by #3737
Closed

divide zone into itself #3727

HarrisChu opened this issue Jan 14, 2022 · 0 comments · Fixed by #3737
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

(root@nebula) [(none)]> show zones
+----------------+-------------+-------+
| Name           | Host        | Port  |
+----------------+-------------+-------+
| "default_zone" | "127.0.0.1" | 19430 |
| "z1"           | "127.0.0.1" | 12547 |
| "z1"           | "127.0.0.1" | 13029 |
| "z1"           | "127.0.0.1" | 12848 |
+----------------+-------------+-------+
Got 4 rows (time spent 2393/8533 us)

Fri, 14 Jan 2022 18:21:23 CST

(root@nebula) [(none)]> show hosts
+-------------+-------+----------+--------------+----------------------+------------------------+
| Host        | Port  | Status   | Leader count | Leader distribution  | Partition distribution |
+-------------+-------+----------+--------------+----------------------+------------------------+
| "127.0.0.1" | 12547 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "127.0.0.1" | 12848 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "127.0.0.1" | 13029 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "127.0.0.1" | 19430 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "Total"     |       |          | 0            |                      |                        |
+-------------+-------+----------+--------------+----------------------+------------------------+
Got 5 rows (time spent 3014/12862 us)

Fri, 14 Jan 2022 18:21:27 CST

(root@nebula) [(none)]> DIVIDE zone "z1" into "z1" (127.0.0.1:12547) "z2" (127.0.0.1:13029,127.0.0.1:12848)
[ERROR (-1005)]: Existed!

Fri, 14 Jan 2022 18:21:32 CST

shall we support this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants