登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
数据库相关
>
数据库服务
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
443
Star
1.5K
Fork
1.8K
openGauss
/
openGauss-server
代码
Issues
965
Pull Requests
165
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【测试类型:SQL功能】【测试版本:5.1.1】【自动化】 一主两备,涉及执行索引相关SQL卡死,且重启集群,备机重启失败
已验收
#I84KL0
缺陷
裴琳倩
创建于
2023-09-26 18:07
<!-- #请认真填写以下信息,否则可能由于无法定位,导致issue无法解决而被取消 --> 【标题描述】: 一主两备,涉及执行索引相关SQL后,备机重启失败 【测试类型:SQL功能】【测试版本:5.1.1】 一主两备,涉及执行索引相关SQL后,备机重启失败 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): CentOS Linux release 7.9.2009 (Core) 【测试环境】(单机/1主x备x级联备): 一主两备 【被测功能】: 正常SQL执行后,进行重启 【测试类型】: 功能 【数据库版本】(查询命令: gaussdb -V): gaussdb (openGauss 5.1.0 build 4e532edf) compiled at 2023-09-22 10:07:20 commit 0 last mr 【预置条件】: 数据库状态正常 【操作步骤】(请填写详细的操作步骤): 1. 设置guc参数,重启(详细步骤见【日志信息】) gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_standby_names='*'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_commit='remote_apply'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "hot_standby=on"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "wal_level='hot_standby'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "recovery_max_workers=4"; 2. 执行建表建索引语句 drop table if exists t_hash_index_0003; create table t_hash_index_0003 (id int, num int, sex varchar(20) default 'male'); insert into t_hash_index_0003 select random()*10, random()*3, 'XXX' from generate_series(1,5000); drop index if exists i_hash_index_0003; create index i_hash_index_0003 on t_hash_index_0003 using hash (id); 3. 重启备机 【预期输出】: 1. 设置guc参数,重启成功 2. 执行建表建索引语句成功 3. 重启备机成功 【实际输出】: 1. 设置guc参数,重启成功 2. 执行建表建索引语句卡死 3. 重启备机失败 【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): ``` [2023-09-26 17:27:08 INFO Logger.py 25 3323287] --修改参数 确认落盘-- [2023-09-26 17:27:08 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:08 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_standby_names='*'"; [2023-09-26 17:27:08 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c synchronous_standby_names='*' set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:13 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:13 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_commit='remote_apply'"; [2023-09-26 17:27:14 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c synchronous_commit='remote_apply' set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:19 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:19 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "hot_standby=on"; [2023-09-26 17:27:20 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c hot_standby=on set ]. NOTICE: When hot_standby set to on, wal_level must be set to hot_standby. Otherwise it will cause the database can not be started. In the dual-system environments, hot_standby can not be set to off. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:25 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:25 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "wal_level='hot_standby'"; [2023-09-26 17:27:25 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c wal_level='hot_standby' set ]. NOTICE: If you need to copy the data stream for WAL log archiving and standby machine. You must be set to the parameter with archive or hot_standby. If this parameter is setted to archive. The hot_standby must be setted to off, otherwise it will cause the database can not be started, at the same time the max_wal_senders must be set at least 1. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:30 INFO Logger.py 25 3323287] ----restart_db_cluster---- [2023-09-26 17:27:47 INFO Logger.py 25 3323287] Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. Starting cluster. ========================================= [SUCCESS] kwepwebenv02644 2023-09-26 17:27:34.688 6512a406.1 [unknown] 140187195064832 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:34.694 6512a406.1 [unknown] 140187195064832 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwepwebenv07952 2023-09-26 17:27:30.870 6512a402.1 [unknown] 139951826371072 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:30.875 6512a402.1 [unknown] 139951826371072 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwemhisprc10431 2023-09-26 17:27:39.372 6512a40b.1 [unknown] 140265248162304 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:39.375 6512a40b.1 [unknown] 140265248162304 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. Waiting for check cluster state... ========================================= Successfully started. [2023-09-26 17:27:50 INFO Logger.py 25 3323287] True [2023-09-26 17:27:50 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc;gs_om -t status [2023-09-26 17:27:51 INFO Logger.py 25 3323287] ----------------------------------------------------------------------- cluster_name : peilq_centos cluster_state : Normal redistributing : No ----------------------------------------------------------------------- [2023-09-26 17:27:51 INFO Logger.py 25 3323287] --step1:设置参数大于1即可;expect:修改成功-- [2023-09-26 17:27:57 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gsql -d tpccdb -p 15000 -r -c "show recovery_max_workers;" [2023-09-26 17:27:57 INFO Logger.py 25 3323287] recovery_max_workers ---------------------- 4 (1 row) [2023-09-26 17:27:57 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:57 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "recovery_max_workers=4"; [2023-09-26 17:27:57 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c recovery_max_workers=4 set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:28:02 INFO Logger.py 25 3323287] True [2023-09-26 17:28:02 INFO Logger.py 25 3323287] --step2:重启数据库;expect:重启成功-- [2023-09-26 17:28:02 INFO Logger.py 25 3323287] ----restart_db_cluster---- [2023-09-26 17:28:16 INFO Logger.py 25 3323287] Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. Starting cluster. ========================================= [SUCCESS] kwepwebenv02644 2023-09-26 17:28:06.904 6512a426.1 [unknown] 139659924046336 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:06.908 6512a426.1 [unknown] 139659924046336 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwepwebenv07952 2023-09-26 17:28:03.119 6512a423.1 [unknown] 139707471675904 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:03.125 6512a423.1 [unknown] 139707471675904 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwemhisprc10431 2023-09-26 17:28:12.739 6512a42c.1 [unknown] 139985520902656 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:12.743 6512a42c.1 [unknown] 139985520902656 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. ========================================= Successfully started. [2023-09-26 17:28:19 INFO Logger.py 25 3323287] True [2023-09-26 17:28:19 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc;gs_om -t status --detail [2023-09-26 17:28:20 INFO Logger.py 25 3323287] --step3:建表并创建hash索引;expect:创建成功-- drop table if exists t_hash_index_0003; create table t_hash_index_0003 (id int, num int, sex varchar(20) default 'male'); insert into t_hash_index_0003 select random()*10, random()*3, 'XXX' from generate_series(1,5000); drop index if exists i_hash_index_0003; create index i_hash_index_0003 on t_hash_index_0003 using hash (id); ``` 备机重启pg日志:  【测试代码】:
<!-- #请认真填写以下信息,否则可能由于无法定位,导致issue无法解决而被取消 --> 【标题描述】: 一主两备,涉及执行索引相关SQL后,备机重启失败 【测试类型:SQL功能】【测试版本:5.1.1】 一主两备,涉及执行索引相关SQL后,备机重启失败 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): CentOS Linux release 7.9.2009 (Core) 【测试环境】(单机/1主x备x级联备): 一主两备 【被测功能】: 正常SQL执行后,进行重启 【测试类型】: 功能 【数据库版本】(查询命令: gaussdb -V): gaussdb (openGauss 5.1.0 build 4e532edf) compiled at 2023-09-22 10:07:20 commit 0 last mr 【预置条件】: 数据库状态正常 【操作步骤】(请填写详细的操作步骤): 1. 设置guc参数,重启(详细步骤见【日志信息】) gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_standby_names='*'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_commit='remote_apply'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "hot_standby=on"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "wal_level='hot_standby'"; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "recovery_max_workers=4"; 2. 执行建表建索引语句 drop table if exists t_hash_index_0003; create table t_hash_index_0003 (id int, num int, sex varchar(20) default 'male'); insert into t_hash_index_0003 select random()*10, random()*3, 'XXX' from generate_series(1,5000); drop index if exists i_hash_index_0003; create index i_hash_index_0003 on t_hash_index_0003 using hash (id); 3. 重启备机 【预期输出】: 1. 设置guc参数,重启成功 2. 执行建表建索引语句成功 3. 重启备机成功 【实际输出】: 1. 设置guc参数,重启成功 2. 执行建表建索引语句卡死 3. 重启备机失败 【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): ``` [2023-09-26 17:27:08 INFO Logger.py 25 3323287] --修改参数 确认落盘-- [2023-09-26 17:27:08 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:08 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_standby_names='*'"; [2023-09-26 17:27:08 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c synchronous_standby_names='*' set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:13 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:13 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "synchronous_commit='remote_apply'"; [2023-09-26 17:27:14 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c synchronous_commit='remote_apply' set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:19 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:19 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "hot_standby=on"; [2023-09-26 17:27:20 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c hot_standby=on set ]. NOTICE: When hot_standby set to on, wal_level must be set to hot_standby. Otherwise it will cause the database can not be started. In the dual-system environments, hot_standby can not be set to off. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:25 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:25 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "wal_level='hot_standby'"; [2023-09-26 17:27:25 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c wal_level='hot_standby' set ]. NOTICE: If you need to copy the data stream for WAL log archiving and standby machine. You must be set to the parameter with archive or hot_standby. If this parameter is setted to archive. The hot_standby must be setted to off, otherwise it will cause the database can not be started, at the same time the max_wal_senders must be set at least 1. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:27:30 INFO Logger.py 25 3323287] ----restart_db_cluster---- [2023-09-26 17:27:47 INFO Logger.py 25 3323287] Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. Starting cluster. ========================================= [SUCCESS] kwepwebenv02644 2023-09-26 17:27:34.688 6512a406.1 [unknown] 140187195064832 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:34.694 6512a406.1 [unknown] 140187195064832 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwepwebenv07952 2023-09-26 17:27:30.870 6512a402.1 [unknown] 139951826371072 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:30.875 6512a402.1 [unknown] 139951826371072 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwemhisprc10431 2023-09-26 17:27:39.372 6512a40b.1 [unknown] 140265248162304 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:27:39.375 6512a40b.1 [unknown] 140265248162304 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. Waiting for check cluster state... ========================================= Successfully started. [2023-09-26 17:27:50 INFO Logger.py 25 3323287] True [2023-09-26 17:27:50 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc;gs_om -t status [2023-09-26 17:27:51 INFO Logger.py 25 3323287] ----------------------------------------------------------------------- cluster_name : peilq_centos cluster_state : Normal redistributing : No ----------------------------------------------------------------------- [2023-09-26 17:27:51 INFO Logger.py 25 3323287] --step1:设置参数大于1即可;expect:修改成功-- [2023-09-26 17:27:57 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gsql -d tpccdb -p 15000 -r -c "show recovery_max_workers;" [2023-09-26 17:27:57 INFO Logger.py 25 3323287] recovery_max_workers ---------------------- 4 (1 row) [2023-09-26 17:27:57 INFO Logger.py 25 3323287] ----gs_guc start execute---- [2023-09-26 17:27:57 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc; gs_guc set -N all -D /openGauss/peilq_centos/cluster/dn1 -c "recovery_max_workers=4"; [2023-09-26 17:27:57 INFO Logger.py 25 3323287] The gs_guc run with the following arguments: [gs_guc -N all -D /openGauss/peilq_centos/cluster/dn1 -c recovery_max_workers=4 set ]. Begin to perform the total nodes: 3. Popen count is 3, Popen success count is 3, Popen failure count is 0. Begin to perform gs_guc for datanodes. Command count is 3, Command success count is 3, Command failure count is 0. Total instances: 3. Failed instances: 0. ALL: Success to perform gs_guc! [2023-09-26 17:28:02 INFO Logger.py 25 3323287] True [2023-09-26 17:28:02 INFO Logger.py 25 3323287] --step2:重启数据库;expect:重启成功-- [2023-09-26 17:28:02 INFO Logger.py 25 3323287] ----restart_db_cluster---- [2023-09-26 17:28:16 INFO Logger.py 25 3323287] Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. Starting cluster. ========================================= [SUCCESS] kwepwebenv02644 2023-09-26 17:28:06.904 6512a426.1 [unknown] 139659924046336 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:06.908 6512a426.1 [unknown] 139659924046336 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwepwebenv07952 2023-09-26 17:28:03.119 6512a423.1 [unknown] 139707471675904 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:03.125 6512a423.1 [unknown] 139707471675904 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. [SUCCESS] kwemhisprc10431 2023-09-26 17:28:12.739 6512a42c.1 [unknown] 139985520902656 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets 2023-09-26 17:28:12.743 6512a42c.1 [unknown] 139985520902656 [unknown] 0 dn_6001_6002_6003 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4475 Mbytes) is larger. ========================================= Successfully started. [2023-09-26 17:28:19 INFO Logger.py 25 3323287] True [2023-09-26 17:28:19 INFO Logger.py 25 3323287] source /home/peilq_centos/gaussdb.bashrc;gs_om -t status --detail [2023-09-26 17:28:20 INFO Logger.py 25 3323287] --step3:建表并创建hash索引;expect:创建成功-- drop table if exists t_hash_index_0003; create table t_hash_index_0003 (id int, num int, sex varchar(20) default 'male'); insert into t_hash_index_0003 select random()*10, random()*3, 'XXX' from generate_series(1,5000); drop index if exists i_hash_index_0003; create index i_hash_index_0003 on t_hash_index_0003 using hash (id); ``` 备机重启pg日志:  【测试代码】:
附件
standby-stack.log
(23.17 KB)
下载
裴琳倩
2023-09-27 10:27
评论 (
3
)
登录
后才可以发表评论
状态
已验收
待办的
已确认
已答复
已取消
挂起
修复中
已完成
待回归
测试中
已验收
负责人
未设置
Movead
movead
负责人
协作者
+负责人
+协作者
薛蒙恩
xue_meng_en
负责人
协作者
+负责人
+协作者
周斌
justbk
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (20)
标签 (29)
master
7.0.0-RC2
6.0.0
datavec_poc
tp_poc
5.0.0
7.0.0-RC1
master_bak08271930
bugfix_0725
3.0.0
iud_dev
dev_board
5.1.0
kms
2.0.0
3.1.0
2.1.0
1.1.0
1.0.1
1.0.0
v6.0.2
v7.0.0-RC1
v6.0.1
v3.0.6
v6.0.0
v3.0.5B009
v5.0.3
v5.0.2
v6.0.0-RC1
v3.0.5
v5.0.1
v5.1.0
5.1.0
v5.0.0
v3.0.3
v3.1.1
v3.0.2
v3.1.0
v2.0.5
v3.0.1
v2.0.4
v2.0.3
v3.0.0
v2.1.0
v2.0.1
v2.0.0
v1.1.0
v1.0.1
v1.0.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(3)
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册