Skip to content

Commit

Permalink
set request schema version when do remote read (#4021) (#4025)
Browse files Browse the repository at this point in the history
close #3967
  • Loading branch information
ti-chi-bot authored Dec 9, 2022
1 parent 14109c7 commit 0652b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,7 @@ void DAGQueryBlockInterpreter::executeRemoteQueryImpl(DAGPipeline & pipeline,
dag_req.SerializeToString(&(req->data));
req->tp = pingcap::coprocessor::ReqType::DAG;
req->start_ts = context.getSettingsRef().read_tso;
req->schema_version = context.getSettingsRef().schema_version;

pingcap::kv::Cluster * cluster = context.getTMTContext().getKVCluster();
pingcap::kv::Backoffer bo(pingcap::kv::copBuildTaskMaxBackoff);
Expand Down

0 comments on commit 0652b7a

Please sign in to comment.