mirror of https://github.com/tikv/client-go.git
add api_version for mpp task meta (#738)
This commit is contained in:
parent
eb0bd61645
commit
c21bf9396a
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue