Skip to content

cop task runtime information is wrong in the index join #19847

Closed
@crazycs520

Description

@crazycs520

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

image

As you can see in the upper picture, The inner worker of IndexJoin_17 spend 2.89010439s to fetch data, but the child IndexReader_37(Build) only spend 1.999111ms, It must be something wrong.

The reason is the inner worker maybe use multiple IndexReader_37 executor to fetch data, but finally, TiDB only record the last executor time cost.

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

master

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions