398 Star 1.4K Fork 1.6K

GVPopenGauss / openGauss-server

 / 详情

【共享存储】ss_enable_dss,ss_enable_dms不应该修改成功

Accepted
Bug
Opened this issue  
2023-04-11 15:47

【标题描述】:
【测试类型:存储功能】【测试版本:5.0.0】 问题描述

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
Image description
【测试环境】(单机/1主x备x级联备):
一主一备
【被测功能】:
共享存储参数
【测试类型】:
功能测试
【数据库版本】(查询命令: gaussdb -V):
Image description【预置条件】:

【操作步骤】(请填写详细的操作步骤):

  1. alter system set ss_enable_dss=off;
  2. alter system set ss_enable_dms=off;
    或者修改配置文件
    重新启动数据库

【预期输出】:
Image description
【实际输出】:
都是修改后,可以启动数据库,但是数据库只有一个库能用,从一主一备降为只有一个主库可用。

【原因分析】:

  1. 这个问题的根因
  2. 问题推断过程
  3. 还有哪些原因可能造成类似现象
  4. 该问题是否有临时规避措施
  5. 问题解决方案
  6. 预计修复问题时间

【日志信息】(请附上日志文件、截图、coredump信息):

【测试代码】:

Comments (7)

roxanne315 created缺陷

Hey @roxanne315, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.

Hi @roxanne315, please use the command /sig xxx to add a SIG label to this issue.
For example: /sig sqlengine or /sig storageengine or /sig om or /sig ai and so on.
You can find more SIG labels from Here.
If you have no idea about that, please contact with @xiangxinyong , @zhangxubo .

yansong_lee set assignee to 陈栋
yansong_lee set priority to Secondary
陈栋 assigned collaborator 陈栋
陈栋 changed assignee from 陈栋 to Carl
Carl changed issue state from 待办的 to 已确认
Carl changed issue state from 已确认 to 修复中

修改了文档描述,表明手动修改该参数无法正常启动数据库,增加校验,保持dss与dms同步打开关闭,dms与dss同时异常关闭时候,会提示找不到控制文件,当dms与dss其中有一个关闭时候,会提示ss_enable_dss与ss_enable_dms需要同时打开或关闭

Carl throughopengauss/openGauss-server Pull Request !3339 changed issue state from 修复中 to 已完成

代码已合入

Carl changed issue state from 已完成 to 待回归
jiexiao1413 changed issue state from 待回归 to 测试中
roxanne315 changed issue state from 测试中 to Accepted

5.0.1版本回归通过
latest版资料
输入图片说明
输入图片说明

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(5)
5622128 opengauss bot 1581905080 11976283 chen zhikai 999 1671161198
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

Search