matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.79k stars 277 forks source link

[Bug]: Connection persists after an account is suspended #15202

Closed DanielZhangQD closed 2 months ago

DanielZhangQD commented 7 months ago

Is there an existing issue for the same bug?

Branch Name

1.1-dev

Commit ID

v1.1.2-c66ab12ea-2024-03-27

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

Expected Behavior

To be determined by the PM

Steps to Reproduce

Refer to Actual Behavior

Additional information

No response

YANGGMM commented 3 months ago
mysql> select connection_id();
+-----------------+
| connection_id() |
+-----------------+
|      1356649370 |
+-----------------+
1 row in set (0.06 sec)

mysql> show accounts;
+--------------------------------------+------------+---------------------+------------+---------------------+----------+-----------+-----------+----------+
| account_name                         | admin_name | created_time        | status     | suspended_time      | db_count | tbl_count | size      | comments |
+--------------------------------------+------------+---------------------+------------+---------------------+----------+-----------+-----------+----------+
| 0190d5d0-474d-7556-a13c-51e228487ad3 | admin      | 2024-07-21 15:01:57 | restricted | 2024-07-22 06:33:37 |        9 |        74 | 539.92439 |          |
+--------------------------------------+------------+---------------------+------------+---------------------+----------+-----------+-----------+----------+
1 row in set (0.43 sec)

mysql> select * from mo_catalog.mo_account where account_name = '0190d5d0-474d-7556-a13c-51e228487ad3';
+------------+--------------------------------------+------------+------------+---------------------+----------+-----------+---------------------+----------------+
| account_id | account_name                         | admin_name | status     | created_time        | comments | version   | suspended_time      | create_version |
+------------+--------------------------------------+------------+------------+---------------------+----------+-----------+---------------------+----------------+
|  690070003 | 0190d5d0-474d-7556-a13c-51e228487ad3 | admin      | restricted | 2024-07-21 15:01:57 |          | 690070024 | 2024-07-22 06:33:37 | 1.2.1          |
+------------+--------------------------------------+------------+------------+---------------------+----------+-----------+---------------------+----------------+
1 row in set (0.04 sec)
YANGGMM commented 3 months ago

等pr合进去

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 3 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

还在看

YANGGMM commented 2 months ago

正在看

YANGGMM commented 2 months ago

等pr合入然后测试

TangxingZhou commented 2 months ago

duplicate of https://github.com/matrixorigin/MO-Cloud/issues/3812