400 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

【测试类型:具功能】【测试版本:2.0.1】环境性能差时,会导致扩容超时失败,建议错误打印中提示相关信息,并增加相应参数配置超时时间

已验收
缺陷
创建于  
2021-09-13 17:29

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
1主2备
【被测功能】:
扩容
【测试类型】:
可靠性
【数据库版本】(查询命令: gaussdb –V):
gaussdb (openGauss 2.0.1 build 53e0a7b5) compiled at 2021-09-09 10:21:12 commit 0 last mr
【预置条件】:

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

  1. 执行扩容
    ./gs_expansion -U reliability0909 -G reliability0909-h xxx -X /opt/reliability0909/0909/pkg/reliability0909.xml -L

【预期输出】:
成功,或失败时有具体提示

【实际输出】:
失败,无有效提示
【原因分析】:

  1. 这个问题的根因
    环境性能较差,pssh超时

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

【测试代码】:

评论 (3)

liumin 创建了缺陷
liumin 关联仓库设置为openGauss/openGauss-server
展开全部操作日志

Hey @liumin, 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 https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.

liumin 负责人设置为zhangxubo
liumin 优先级设置为不重要
zhangxubo 添加了
 
sig/om
标签

问题原因:
该问题主要是由于,在扩容时候,服务器之间的时延很大,导致在扩容过程中发送软件包到备机时候,超时而退出(300s超时时间)。

修改方案:

  1. 对备机进行超时时间校验,超过1000ms则给与WARNING提示。
  2. 当前发送的整个目录,包含了包和解压后的东西。 改为只发送压缩包,发到备机再解压。 预期大小减少一倍。
  3. gs_expansion增加 --time-out命令参数,针对发送包可以进行手动修改设置超时时间。
zhangxubo 通过opengauss/openGauss-OM Pull Request !216任务状态待办的 修改为已完成
liumin 任务状态已完成 修改为测试中
liumin 任务状态测试中 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5622128 opengauss bot 1581905080
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助