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

peers are incorrect after balance data #3154

Closed
HarrisChu opened this issue Oct 19, 2021 · 3 comments
Closed

peers are incorrect after balance data #3154

HarrisChu opened this issue Oct 19, 2021 · 3 comments
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

cannot repeat, just record it.

sometimes after balance data, the peers are incorrect.

replica is 3

(root@nebula) [s1]> show parts
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| Partition ID | Leader                | Peers                                                           | Losts |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 1            | "192.168.8.152:11779" | "192.168.8.152:11779, 192.168.8.152:14779"                      | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 2            | "192.168.8.152:15779" | "192.168.8.152:15779, 192.168.8.152:12779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 3            | "192.168.8.152:11779" | "192.168.8.152:11779, 192.168.8.152:12779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 4            | "192.168.8.152:15779" | "192.168.8.152:15779, 192.168.8.152:12779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 5            | "192.168.8.152:11779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 6            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:15779, 192.168.8.152:12779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 7            | "192.168.8.152:11779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:12779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
| 8            | "192.168.8.152:15779" | "192.168.8.152:13779, 192.168.8.152:15779, 192.168.8.152:12779" | ""    |
+--------------+-----------------------+-----------------------------------------------------------------+-------+
Got 8 rows (time spent 1022/10401 us)
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| Partition ID | Leader                | Peers                                                                                | Losts |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 1            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:15779, 192.168.8.152:11779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 2            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:14779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 3            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:15779, 192.168.8.152:14779" | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 4            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:14779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 5            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:12779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 6            | "192.168.8.152:15779" | "192.168.8.152:13779, 192.168.8.152:15779, 192.168.8.152:12779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 7            | "192.168.8.152:12779" | "192.168.8.152:13779, 192.168.8.152:11779, 192.168.8.152:12779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
| 8            | "192.168.8.152:13779" | "192.168.8.152:13779, 192.168.8.152:15779, 192.168.8.152:12779"                      | ""    |
+--------------+-----------------------+--------------------------------------------------------------------------------------+-------+
Got 8 rows (time spent 897/12693 us)

Tue, 19 Oct 2021 15:27:17 CST
@HarrisChu HarrisChu added the type/bug Type: something is unexpected label Oct 19, 2021
@HarrisChu HarrisChu self-assigned this Oct 20, 2021
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Oct 20, 2021
@Sophie-Xie Sophie-Xie added the need info Solution: need more information (ex. can't reproduce) label Nov 25, 2021
@Sophie-Xie Sophie-Xie removed the need info Solution: need more information (ex. can't reproduce) label Jan 12, 2022
@Sophie-Xie Sophie-Xie changed the title [cannot repeat] peers are incorrect after balance data peers are incorrect after balance data Jan 12, 2022
@liwenhui-soul
Copy link
Contributor

does this exist in new balancer?

@HarrisChu
Copy link
Contributor Author

I don't see it now

@liwenhui-soul
Copy link
Contributor

it's the old balancer's bug, close it

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

No branches or pull requests

3 participants