Under the nextgen build tag, expand shouldBypass() to skip RU accounting for heavy internal operations (DDL index backfill, BR, IMPORT INTO, workload learning), and plumb RequestSource into resourcecontrol.RequestInfo for metric collection.
Tracking issue (TiDB side): pingcap/tidb#64339
Companion issue (PD side): tikv/pd#10634
Under the
nextgenbuild tag, expandshouldBypass()to skip RU accounting for heavy internal operations (DDL index backfill, BR, IMPORT INTO, workload learning), and plumbRequestSourceintoresourcecontrol.RequestInfofor metric collection.Tracking issue (TiDB side): pingcap/tidb#64339
Companion issue (PD side): tikv/pd#10634