已合并
修复lower_case_table_names导致升级失败的问题 #2366
chenxiaobin19创建于 2月5日
修复lower_case_table_names导致升级失败的问题 #2366
已合并
chenxiaobin19创建于 2月5日
chenxiaobin19
chenxiaobin19成员
2月5日

【标题】(请简要描述下实现的内容)
修复lower_case_table_names导致升级失败的问题
【实现内容】:
修复lower_case_table_names导致升级失败的问题
【根因分析】:
image.png
升级过程中报上述错误,原因是b库参数lower_case_table_names默认值改为0后,标识符保留了大小写。但是function table的场景存在bug,别名没有对应适配,仍然被转成小写,导致匹配不到。
【实现方案】:
适配function table场景;另外升级脚本中存在大量大写的系统表表名,参数为0后无法正确找到表,因此控制升级过程中参数不生效。
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7902
【开发自验报告】:

  1. 请附上自验结果(内容或者截图)
    安装5.0.0版本
    image.png
    升级到master
    image.png
    回滚
    image.png
    再次升级
    image.png
    提交
    image.png
  2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
    升级场景,无法添加
  3. 是否涉及资料修改,如是,在docs仓库补充资料
    不涉及
  4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
    已考虑
  5. 是否考虑在线扩容等扩展场景
    不涉及
  6. 是否考虑异常场景/并发场景/前向兼容/性能场景
    不涉及
  7. 是否对其他模块产生影响
    不涉及
  8. 是否需要回合补丁版本(5.0、6.0),涉及(结果错误|coredump|性能劣化|内存泄露|集群异常)相关修复请排查回合补丁分支
    待回合

【其他说明】:

likedislike
Pull Request已成功合入, 合并人@opengauss_bot
(感谢 chenxiaobin19 的贡献)
chenxiaobin19chenxiaobin19成员
2月5日 创建了 pull request,commit 7db22833
opengauss_botopengauss_bot成员
2月5日 添加了label:sig/Plugin
opengauss_bot
opengauss_bot成员
2月5日 评论:

Welcome To openGauss Community

Hey @chenxiaobin19 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Plugin ,
and any of the maintainers: @Coderejector, @chenxiaobin19 ,
and any of the committers: @dodders, @dreamalloc, @huyinghao, @totaj, @wangfeihuo, @wmy_ld, @wuyuechuan, @xiong_xjun, @zhaojunv3z810 .

likedislike
opengauss_botopengauss_bot成员
2月5日 添加了label:ci-pipeline-running
opengauss_botopengauss_bot成员
2月5日 添加了label:codecheck-running
此处折叠了129条消息 查看更多
opengauss_bot
opengauss_bot成员
2月6日 评论:

开源片段扫描

Check Name Build Details Check Result Check Detail
sca #31880 ✅ 通过 >>>
likedislike
opengauss_bot
opengauss_bot成员
2月6日 评论:

静态检查

Check Name Build Details Check Result Check Detail
CodeCheck #68942 ✅ 通过 >>>
likedislike
opengauss_botopengauss_bot成员
2月6日 添加了label:codecheck-success
opengauss_botopengauss_bot成员
2月6日 删除了label:codecheck-running
chenxiaobin19chenxiaobin19成员
2月10日 关联了issue:[Bug]: 【升级】【传统】从5.0.0升级到7.0.0RC3最新版本,升级报错