Skip to content

Commit

Permalink
add api_version for mpp task meta (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
iosmanthus authored Mar 13, 2023
1 parent eb0bd61 commit c21bf93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/apicodec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func attachAPICtx(c Codec, req *tikvrpc.Request) (*tikvrpc.Request, error) {
case tikvrpc.CmdMPPTask:
mpp := *r.DispatchMPPTask()
mpp.Meta.KeyspaceId = ctx.KeyspaceId
mpp.Meta.ApiVersion = ctx.ApiVersion
r.Req = &mpp
case tikvrpc.CmdCompact:
compact := *r.Compact()
Expand Down

0 comments on commit c21bf93

Please sign in to comment.