Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine the log of cop/batchcop #8181

Closed
windtalker opened this issue Oct 11, 2023 · 0 comments · Fixed by #8182
Closed

Refine the log of cop/batchcop #8181

windtalker opened this issue Oct 11, 2023 · 0 comments · Fixed by #8182
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@windtalker
Copy link
Contributor

Enhancement

For mpp task, the log has information about the details of a mpp task like

[2023/10/11 12:01:14.910 +08:00] [DEBUG] [ExchangeSenderSinkOp.cpp:26] ["finish write with 1 rows"] [source="MPP<gather_id:<gather_id:1, query_ts:1696996874892571000, local_query_id:18, server_id:1412, start_ts:444857548763037700, resource_gorup: default>,task_id:1>_ExchangeSender_ExchangeSender_15"] [thread_id=152]

while for cop/batch cop, there is no such information

[2023/09/07 09:48:46.733 +08:00] [DEBUG] [PhysicalPlan.cpp:84] ["tidb table scan has runtime filter size:0"] [source=CoprocessorHandler(stream)] [thread_id=240]

It can be very useful when debug issues if the source provide details information for cop/batch cop

@windtalker windtalker added the type/enhancement The issue or PR belongs to an enhancement. label Oct 11, 2023
ti-chi-bot bot pushed a commit that referenced this issue Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant