Skip to content

COOLDOWN/SWITCH_GROUP/DRY_RUN actions don't work with QUERY_LIMIT #60404

@JmPotato

Description

@JmPotato

Bug Report

1. Minimal reproduce step (Required)

CREATE RESOURCE GROUP IF NOT EXISTS rg1 RU_PER_SEC = 5000 QUERY_LIMIT=(RU=1, ACTION=COOLDOWN);

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

The COOLDOWN action should be triggered, and the corresponding identity match record must be present in mysql.tidb_runaway_queries. SWITCH_GROUP and DRY_RUN also exhibit the same phenomenon.

3. What did you see instead (Required)

Nothing happened.

4. What is your TiDB version? (Required)

ced1490

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/pdseverity/majortype/bugThe issue is confirmed as a bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions