255 Star 675 Fork 494

GVPopenGauss / openGauss-server

 / 详情

upgrade_mode参数在灰度升级过程无法将值修改为2

Backlog
Bug
Opened this issue  
2021-09-30 17:47

【测试类型:工具功能】【测试版本:2.0.1】 问题描述
参数upgrade_mode不准确,灰度升级过程中但参数显示为0,不能通过upgrade_mode判断是否处于未提交状态
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
输入图片说明
【测试环境】
一主四备,两同步两异步
【被测功能】:
灰度升级过程upgrade_mode参数不准确

【数据库版本】(查询命令: gaussdb –V):
老版本为openGauss 2.0.1 631cc42d 要升级版本如图所示
输入图片说明

【操作步骤】(请填写详细的操作步骤):
灰度升级,/home/omm/openGauss-2.0.1-CentOS-64bit-all/script/gs_upgradectl -t auto-upgrade -X /home/omm/single.xml --grey 。以及gs_upgradectl -t commit-upgrade -X /home/omm/single.xml全过程upgrade_mode均无变化,均为0.

【预期输出】:
灰度升级过程upgrade_mode应该为2
【实际输出】:
灰度升级,整个过程参数都显示为0。(包括升级过程和未提交状态)

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

输入图片说明
虽然可以通过binary_upgrade下文件判断数据库处于的状态,但是参数upgrade_mode值在升级过程未正常改变。
输入图片说明
(图中app下1.1.0_631cc42d仅仅是目录名,数据库版本依然为2.0.1)

Comments (1)

Hey @小怪兽 , 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.

小怪兽 created缺陷
小怪兽 set related repository to openGauss/openGauss-server
小怪兽 changed description
小怪兽 changed title
zhangxubo added
 
sig/om
label
Expand operation logs

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)
Confirm
参与者(2)
5622128 opengauss bot 1581905080
C++
1
https://git.oschina.net/opengauss/openGauss-server.git
git@git.oschina.net:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

Search