pingcap / pingcap/tidb

TopSQL doesn't set resource tag for resolve lock RPC request

Open
#33,621 0 comments 0 reactions 0 assignees View on GitHub
severity/minor sig/diagnosis type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### Problem

Currently, TopSQL doesn't set resource group tag for the following request:
* `CmdResolveLock`
* `CmdCheckTxnStatus`

### TiDB Version

`master e15e6d035872e3ce4e115db3b63d912b358f3f04`

Contributor guide

Open the contributing guide

Research direction

Start by tracing the TopSQL handling for the CmdResolveLock and CmdCheckTxnStatus RPC requests. Check how resource group tags are assigned to comparable requests, then verify that both requests carry the expected tag through their handling and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.