resource_manager: default resource group's config is reset after restart pd server #6787
Closed
Description
opened on Jul 12, 2023
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 |
+---------+------------+----------+-----------+-------------+------------+
Activity