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

lightning: v8.2 lightning failed to import data to v8.1 version tidb cluster #54341

Closed
AkiraXie opened this issue Jul 1, 2024 · 3 comments
Closed
Assignees
Labels
affects-8.2 severity/major sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.

Comments

@AkiraXie
Copy link

AkiraXie commented Jul 1, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. setup v8.1 tidb cluster
  2. use v8.2 lightning import data and use check-requirement = true

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

success

3. What did you see instead (Required)

failed

4. What is your TiDB version? (Required)

v8.2

@AkiraXie AkiraXie added the type/bug The issue is confirmed as a bug. label Jul 1, 2024
@AkiraXie
Copy link
Author

AkiraXie commented Jul 1, 2024

/severity major

@D3Hunter
Copy link
Contributor

D3Hunter commented Jul 1, 2024

the cause is PD and pd-client 8.2 introduced a new API which doesn't exists in 8.1, and lightning reports unknown method BatchScanRegions for service pdpb.PD during split-scatter, see #54153

lightning doesn't support import into clusters of lower version officially, but it DOES can do it in theory before 8.2

@AkiraXie
Copy link
Author

AkiraXie commented Jul 5, 2024

after #54365 merged, the issue cannot reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.2 severity/major sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants