Feizhi Cai

Results 44 comments of Feizhi Cai

多谢反馈,我们会评估下如何更好的支持这种场景

我简单看了一下,这个报错是因为ob没有支持storage_engine这个系统变量,因为ob现在没有可插拔的存储引擎;我们可以考虑从语法上兼容这个系统变量,不过我们可能还得继续评估一下,django对这个变量的返回值有没有特殊依赖,比如会不会因为返回“innodb”就执行一些特殊的查询语句;

[ if self._mysql_storage_engine != "InnoDB":](https://github.com/django/django/blob/6f73eb9d90cfec684529aab48d517e3d6449ba8c/django/db/backends/mysql/features.py#L337) 这里依赖值一定是InnoDB https://github.com/django/django/blob/6f73eb9d90cfec684529aab48d517e3d6449ba8c/django/db/backends/mysql/features.py#L309 这里依赖值不是MyISAM就行 具体代码可以参照:https://github.com/django/django/blob/main/django/db/backends/mysql/features.py

It seems mysql console(not observer) coredump?Can you please supply some more information? 1. OS && chip platform 2. The coredump stack of mysql; (In centos, you can find core file...

mysql console is mysql-5.5.52: 1.It seems that some compat problem in mysql 5.5 with oceanbase 3.1.4-ce; but in you coredump stack, we can not found enough information for trouble shooting...

Thank you for your suggestion, we will evaluate this featureand and reply to you later

请提供下文档链接; 另外,目前社区版是没有help功能的,已经提了issue,目前在功能开发中,预计3.1.5-ce能提供:https://github.com/oceanbase/oceanbase/issues/1006

对于同个二级版本号(比如社区版3.1.x,迁移到企业版3.1.x),原则上: 1. Mysql模式下,社区版迁移到企业版是没有问题的; 2. Mysql模式下,企业版迁移到社区版,需要兼容评估是否使用了企业版才有的高阶功能; 对于不同版本之间(比如社区版3.1.x,企业版2.2.x),原则上,低版本升级到高版本是没有问题的,高版本迁移到低版本,如果用户使用了高版本新增的功能,那么可能有问题;

这部分代码确实有一定冗余,可以进行代码的优化。你是否有兴趣改一下?

please provide more info, such as "How to reproduce this problem"