Skip to content

Commit 1b3700c

Browse files
authored
execdetails: Fix max_remote_stream shown in execution info.tiflash_task (#52647)
close #52646
1 parent 5bb8ed7 commit 1b3700c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/execdetails/execdetails.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ func (crs *CopRuntimeStats) RecordOneCopTask(address string, summary *tipb.Execu
781781
minLocalStreamMs: summary.GetTiflashScanContext().GetMinLocalStreamMs(),
782782
maxLocalStreamMs: summary.GetTiflashScanContext().GetMaxLocalStreamMs(),
783783
minRemoteStreamMs: summary.GetTiflashScanContext().GetMinRemoteStreamMs(),
784-
maxRemoteStreamMs: summary.GetTiflashScanContext().GetMaxLocalStreamMs(),
784+
maxRemoteStreamMs: summary.GetTiflashScanContext().GetMaxRemoteStreamMs(),
785785
regionsOfInstance: make(map[string]uint64),
786786
}}, threads: int32(summary.GetConcurrency()),
787787
totalTasks: 1,

0 commit comments

Comments
 (0)