【标题描述】:
【测试类型:工具功能】【测试版本:5.0.0】 问题描述
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
【测试环境】(单机/1主x备x级联备):
一主一备
【被测功能】:
gs_initdb
【测试类型】:
功能测试
【数据库版本】(查询命令: gaussdb -V):
【预置条件】:
【操作步骤】(请填写详细的操作步骤):
gs_initdb -D /home/test/testinitdb1 --nodename=dn_6001_6002 -w "Gauss@123" --enable-dss --vgname="+data,+p0" --socketpath="UDS:/opt/og20230216/install/data/dss/.dss_unix_d_socket"
【预期输出】:
成功,没有core dump
【实际输出】:
成功,但过程中有panic报错,且产出了core dump
堆栈:
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
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 .
1.首先gs_initdb命令不对,没有-I参数表示哪个节点,可能导致初始化第二个节点的时候与第一个节点冲突,由于pg_control文件中的reform page页面只能初始化一次,所以会报该错误,需要添加-I参数指定节点初始化
2.由于同一个节点已经初始化一次,再初始化一次,会导致该报错。
验收日期:2023-10-19
验收版本:gaussdb (openGauss 5.0.1 build 700d2868) compiled at 2023-10-17 21:54:37 commit 0 last mr
验收结论:5.0.1版本验收通过
验收截图:
登录 后才可以发表评论