diff --git a/DEPS.bzl b/DEPS.bzl index 4ec37b10b9cd3..646e7b078898f 100644 --- a/DEPS.bzl +++ b/DEPS.bzl @@ -5858,13 +5858,13 @@ def go_deps(): name = "com_github_pingcap_tipb", build_file_proto_mode = "disable_global", importpath = "github.com/pingcap/tipb", - sha256 = "42c365f3f99d2577fe29c89d433894b2d0d69b054248bb3bafbced33332933e3", - strip_prefix = "github.com/pingcap/tipb@v0.0.0-20240318032315-55a7867ddd50", + sha256 = "f683e9a787210338217e1a386ac076ba7fef8e9c3735c21fe8fb9ca96b13e060", + strip_prefix = "github.com/pingcap/tipb@v0.0.0-20240507090649-2bf6bb0cb996", urls = [ - "http://bazel-cache.pingcap.net:8080/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240318032315-55a7867ddd50.zip", - "http://ats.apps.svc/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240318032315-55a7867ddd50.zip", - "https://cache.hawkingrei.com/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240318032315-55a7867ddd50.zip", - "https://storage.googleapis.com/pingcapmirror/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240318032315-55a7867ddd50.zip", + "http://bazel-cache.pingcap.net:8080/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240507090649-2bf6bb0cb996.zip", + "http://ats.apps.svc/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240507090649-2bf6bb0cb996.zip", + "https://cache.hawkingrei.com/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240507090649-2bf6bb0cb996.zip", + "https://storage.googleapis.com/pingcapmirror/gomod/github.com/pingcap/tipb/com_github_pingcap_tipb-v0.0.0-20240507090649-2bf6bb0cb996.zip", ], ) go_repository( diff --git a/go.mod b/go.mod index 7f15b620a318c..d9cabb8d4ce90 100644 --- a/go.mod +++ b/go.mod @@ -86,7 +86,7 @@ require ( github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 github.com/pingcap/tidb/pkg/parser v0.0.0-20211011031125-9b13dc409c5e - github.com/pingcap/tipb v0.0.0-20240318032315-55a7867ddd50 + github.com/pingcap/tipb v0.0.0-20240507090649-2bf6bb0cb996 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.18.0 github.com/prometheus/client_model v0.5.0 diff --git a/go.sum b/go.sum index 01dcf1bff8262..d543467f5b164 100644 --- a/go.sum +++ b/go.sum @@ -819,8 +819,8 @@ github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 h1:2SOzvGvE8beiC1Y4g github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 h1:QV6jqlfOkh8hqvEAgwBZa+4bSgO0EeKC7s5c6Luam2I= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21/go.mod h1:QYnjfA95ZaMefyl1NO8oPtKeb8pYUdnDVhQgf+qdpjM= -github.com/pingcap/tipb v0.0.0-20240318032315-55a7867ddd50 h1:fVNBE06Rjec+EIHaYAKAHa/bIt5lnu3Zh9O6kV7ZAdg= -github.com/pingcap/tipb v0.0.0-20240318032315-55a7867ddd50/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= +github.com/pingcap/tipb v0.0.0-20240507090649-2bf6bb0cb996 h1:p0bJEZsc9L5hKd2MaA63gkLiulkgt8s+yOOfyRtIA48= +github.com/pingcap/tipb v0.0.0-20240507090649-2bf6bb0cb996/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= diff --git a/pkg/util/execdetails/execdetails.go b/pkg/util/execdetails/execdetails.go index 1a546e32dd57c..4c4e85d67584e 100644 --- a/pkg/util/execdetails/execdetails.go +++ b/pkg/util/execdetails/execdetails.go @@ -611,7 +611,7 @@ func (crs *CopRuntimeStats) RecordOneCopTask(address string, summary *tipb.Execu minLocalStreamMs: summary.GetTiflashScanContext().GetMinLocalStreamMs(), maxLocalStreamMs: summary.GetTiflashScanContext().GetMaxLocalStreamMs(), minRemoteStreamMs: summary.GetTiflashScanContext().GetMinRemoteStreamMs(), - maxRemoteStreamMs: summary.GetTiflashScanContext().GetMaxLocalStreamMs(), + maxRemoteStreamMs: summary.GetTiflashScanContext().GetMaxRemoteStreamMs(), regionsOfInstance: make(map[string]uint64), }}, threads: int32(summary.GetConcurrency()), totalTasks: 1,