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

add api_version for mpp task meta #1075

Merged

Conversation

iosmanthus
Copy link
Contributor

We need api_version to be attached in the MPP task meta, so TiFlash could derive the real keyspace id of the request.

For example, the old TiDB would send a request whose keyspace id is 0, a.k.a, the default value. But this might cause the new TiFlash could not to find the table. We need more information the derive the real keyspace id in the request. The keyspace id is real if the api_version is V2.

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
@iosmanthus iosmanthus merged commit accad85 into pingcap:master Mar 12, 2023
@iosmanthus iosmanthus deleted the add-api-version-for-mpp-task-meta branch March 12, 2023 03:37
joccau pushed a commit to joccau/kvproto that referenced this pull request Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants