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

Check store version bound while creating V2 client #616

Closed
iosmanthus opened this issue Jun 17, 2022 · 0 comments · Fixed by #617
Closed

Check store version bound while creating V2 client #616

iosmanthus opened this issue Jun 17, 2022 · 0 comments · Fixed by #617
Labels
type/feature-request New feature request

Comments

@iosmanthus
Copy link
Member

Feature Request

The older version of the TiKV cluster (<= v6.1.0) allows the request from the newer V2 client to write which might break some assumptions of API V2 protocol like the format of the region (its bounds are encoding in memory-comparable format). But with version 6.1.0 TiKV, the check is added. We should add some store version checks while constructing the TiSession.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant