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

error message of BR is misleading #30641

Closed
lance6716 opened this issue Dec 11, 2021 · 1 comment · Fixed by #30763
Closed

error message of BR is misleading #30641

lance6716 opened this issue Dec 11, 2021 · 1 comment · Fixed by #30763
Assignees
Labels
component/br This issue is related to BR of TiDB. severity/minor type/bug The issue is confirmed as a bug.

Comments

@lance6716
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

return errors.Annotatef(berrors.ErrPDBatchScanRegion, "last region's endKey < startKey, startKey: %s, regionStartKey: %s",
redact.Key(endKey), redact.Key(regions[len(regions)-1].Region.EndKey))

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

last region's endKey < endKey, regionEndKey: %s, endKey: %s

3. What did you see instead (Required)

last region's endKey < startKey, startKey: %s, regionStartKey: %s

4. What is your TiDB version? (Required)

@lance6716 lance6716 added type/bug The issue is confirmed as a bug. component/br This issue is related to BR of TiDB. severity/minor labels Dec 11, 2021
@lance6716 lance6716 changed the title error message of BR is wrong error message of BR is misleading Dec 11, 2021
@3pointer 3pointer self-assigned this Dec 16, 2021
@github-actions
Copy link

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants