Skip to content

resource_manager: default resource group's config is reset after restart pd server #6787

Closed
@glorv

Description

Bug Report

What did you do?

Deploy a nightly pd server add execute:

Alter resource group default ru_per_sec = 1000000 background = (task_name = "br");

And then restart the pd server

What did you expect to see?

mysql> select * from information_schema.resource_groups;
+---------+------------+----------+-----------+-------------+-----------------+
| NAME    | RU_PER_SEC | PRIORITY | BURSTABLE | QUERY_LIMIT | BACKGROUND      |
+---------+------------+----------+-----------+-------------+-----------------+
| default | 1000000    | MEDIUM   | YES       | NULL        | TASK_NAMES='br' |
+---------+------------+----------+-----------+-------------+-----------------+

What did you see instead?

mysql> select * from information_schema.resource_groups;
+---------+------------+----------+-----------+-------------+------------+
| NAME    | RU_PER_SEC | PRIORITY | BURSTABLE | QUERY_LIMIT | BACKGROUND |
+---------+------------+----------+-----------+-------------+------------+
| default | UNLIMITED  | MEDIUM   | YES       | NULL        | NULL       |
+---------+------------+----------+-----------+-------------+------------+

What version of PD are you using (pd-server -V)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    affects-7.1This bug affects the 7.1.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions