Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: support analyzing error for OB_MAJOR_FREEZE_NOT_ALLOW when manually execute merge #713

Open
alfredsongl opened this issue Jan 23, 2025 · 1 comment

Comments

@alfredsongl
Copy link

Describe your use case

用户不清楚或者没注意当前租户是主租户还是备租户时,手动执行了合并操作
ALTER SYSTEM MAJOR FREEZE tenant = xxx;

出现错误:
ERROR 4217 (HY000): Major freeze not allowed now

问题来源:
https://ask.oceanbase.com/t/topic/35618459

Describe the solution you'd like

1.分析observer.log,发现有报错OB_MAJOR_FREEZE_NOT_ALLOW

2.select tenant_role from dba_ob_tenants where tenant_name=xxx;

3.确定tenant_role是standby 备租户

Describe alternatives you've considered

No response

Additional context

No response

@alfredsongl alfredsongl changed the title [Feature]: support analyzing error for OB_MAJOR_FREEZE_NOT_ALLOW when Manually execute merge [Feature]: support analyzing error for OB_MAJOR_FREEZE_NOT_ALLOW when manually execute merge Jan 23, 2025
@Teingi
Copy link
Contributor

Teingi commented Jan 23, 2025

需要设计一下放在哪个功能模块合适

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants