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

TIDB partion region scatter caller is wrong #46135

Closed
bufferflies opened this issue Aug 16, 2023 · 4 comments · Fixed by #46156
Closed

TIDB partion region scatter caller is wrong #46135

bufferflies opened this issue Aug 16, 2023 · 4 comments · Fixed by #46156
Labels
affects-6.1 affects-6.5 affects-7.1 component/ddl This issue is related to DDL of TiDB. severity/major type/bug The issue is confirmed as a bug.

Comments

@bufferflies
Copy link
Contributor

bufferflies commented Aug 16, 2023

Bug Report

In past, TIDB will scatter partition region by using different group(partition id), but pd scatter this region depence on the group.
Different group means them has no relationship.
Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

set global tidb_scatter_region=on;
select now(); 
create table test.t1(id int,b int) shard_row_id_bits=4 partition by hash(id) partitions 2000; 
select now();

2. What did you expect to see? (Required)

scatter leader and peer is ok

3. What did you see instead (Required)

scatter leader and peer can't work

4. What is your TiDB version? (Required)

above 6.2

@bufferflies bufferflies added the type/bug The issue is confirmed as a bug. label Aug 16, 2023
@CabinfeverB
Copy link
Contributor

/label affects-7.1

@CabinfeverB
Copy link
Contributor

/label affects-6.5

@CabinfeverB
Copy link
Contributor

/label severity/major

@ti-chi-bot
Copy link

ti-chi-bot bot commented Aug 16, 2023

@CabinfeverB: The label(s) severity/major cannot be applied. These labels are supported: fuzz/sqlancer, challenge-program, compatibility-breaker, first-time-contributor, contribution, require-LGT3, good first issue, correctness, duplicate, proposal, security, needs-more-info, needs-cherry-pick-release-5.2, needs-cherry-pick-release-5.3, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.0, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.2, needs-cherry-pick-release-6.3, needs-cherry-pick-release-6.4, needs-cherry-pick-release-6.5, needs-cherry-pick-release-6.6, needs-cherry-pick-release-7.0, needs-cherry-pick-release-7.1, needs-cherry-pick-release-7.2, needs-cherry-pick-release-7.3, affects-5.2, affects-5.3, affects-5.4, affects-6.0, affects-6.1, affects-6.2, affects-6.3, affects-6.4, affects-6.5, affects-6.6, affects-7.0, affects-7.1, affects-7.2, affects-7.3, may-affects-5.2, may-affects-5.3, may-affects-5.4, may-affects-6.0, may-affects-6.1, may-affects-6.2, may-affects-6.3, may-affects-6.4, may-affects-6.5, may-affects-6.6, may-affects-7.0, may-affects-7.1, may-affects-7.2, may-affects-7.3.

In response to this:

/label severity/major

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot ti-chi-bot bot added may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 labels Aug 16, 2023
@zimulala zimulala removed may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. labels Aug 16, 2023
ti-chi-bot bot pushed a commit that referenced this issue Aug 16, 2023
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Sep 11, 2023
ti-chi-bot bot pushed a commit that referenced this issue Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.1 affects-6.5 affects-7.1 component/ddl This issue is related to DDL of TiDB. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants