matrixorigin / matrixone

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

[Bug]: implement when starts restoring an object, the sql that is accessing the object is interrupted and if the object is being recovered, no new sql is allowed to access the object. #19071

Open Ariznawlll opened 1 month ago

Ariznawlll commented 1 month ago

Is there an existing issue for the same bug?

Branch Name

main

Commit ID

02988f19d1274a3be9579f55c7f75ad8acc26d46

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

根据prd,实现一下:

  1. 开始恢复对象时,正在访问该对象的 sql (恢复 sql 除外)会被立即中断;
  2. 正在恢复对象时,不允许新的 sql 访问该对象.

Expected Behavior

No response

Steps to Reproduce

如Actual Behavior所描述

Additional information

No response

YANGGMM commented 1 month ago

需要讨论一下

YANGGMM commented 1 month ago

还需要讨论

YANGGMM commented 1 month ago

还需要讨论

YANGGMM commented 1 month ago

还需要讨论

YANGGMM commented 3 weeks ago

还在看

YANGGMM commented 3 weeks ago

还在看

YANGGMM commented 3 weeks ago

技术方案待定,暂时放到2.0.1 解决

YANGGMM commented 2 weeks ago

还在看

YANGGMM commented 1 week ago

还在看

YANGGMM commented 1 week ago

还在看

daviszhen commented 3 days ago

杀sql问题。已经与产品确认,2.0.1来不及。

YANGGMM commented 7 hours ago

改成需求