pingcap / pingcap/tidb

Hard to know a DXF task belongs to which DDL job ID

Open
#57,013 0 comments 0 reactions 0 assignees View on GitHub
component/ddl type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

```
[2024/10/30 20:10:28.282 +08:00] [Info] [scheduler_manager.go:355] ["task scheduler started"] [task-id=300056]
[2024/10/30 20:10:28.282 +08:00] [Info] [scheduler.go:117] ["schedule task"] [task-id=300056] [task-type=backfill] [allocated-slots=true] [state=pending] [concurrency=4]
```

When there are concurrent DDL jobs in distributed execution framework, it's hard to tell them apart. Debug will be harder.

So I think we should attach extra metadata to log labels

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.