399 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

通过jdbc执行查询导致数据库停止运行

已完成
任务
创建于  
2020-07-17 17:56

/kind bug

What happened:

执行select * from site.bts_parameter order by id limit 501;数据库恢复以下错误,同时数据库服务停止运行。
执行错误

What you expected to happen:

正常执行并返回数据
How to reproduce it (as minimally and precisely as possible):
创建表写入数据,数据到达一定量级后,查询必现该错误。
Anything else we need to know?:

  • Version: 1.0.0
  • OS (e.g. from /etc/os-release):
    NAME="openEuler"
    VERSION="20.03 (LTS)"
    ID="openEuler"
    VERSION_ID="20.03"
    PRETTY_NAME="openEuler 20.03 (LTS)"
    ANSI_COLOR="0;31"
  • Kernel (e.g. uname -a):
    Linux pekphisprb46010 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Mon Mar 23 19:06:43 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
  • Install tools: gs_presinstall gs_install
  • Others:
    部署方式:主备

评论 (6)

like11 创建了任务
like11 关联仓库设置为openGauss/openGauss-server
展开全部操作日志

Hey @like11, 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.

like11 修改了描述
opengauss-bot 添加了
 
kind/bug
标签
like11 修改了描述

您好。
1.请问下出现这个错误的具体场景是什么呢?
2.麻烦看下数据库停止时的日志,目前得到的信息不足无法复现。
3.图中控制台打印的日志与openGauss的看起来不太相同,是否进行了代码修改。目前openGauss的日志形如:

2020-09-11 14:18:11.154 o630 [unknown] openGauss36 281457987438560 0 0 [BACKEND] LOG:  current repl of walsender is 1.
2020-09-11 14:18:11.154 o630 [unknown] openGauss36 281457987438560 0 0 [BACKEND] LOG:  received wal replication command: CREATE_REPLICATION_SLOT "sgnode" PHYSICAL 4/14000000
2020-09-11 14:18:11.154 o630 [unknown] openGauss36 281457987438560 0 0 [BACKEND] WARNING:  replication slot "sgnode" already exists
zhangxubo 添加了
 
sig/storageengine
标签
zhangxubo 添加了
 
sig/sqlengine
标签

该问题未复现

该问题未复现
复现环境:数据库:openGauss1.0.0
输入图片说明
操作系统:openEuler
输入图片说明
复现过程:创建表test_test,并插入1000000条数据,进行查询
执行结果:在服务端及通过JDBC查询均可正常查询结果
输入图片说明
输入图片说明
输入图片说明
输入图片说明

zhangxubo 任务状态待办的 修改为已完成

请使用最新的版本1.0.1验证下,如果还有问题请在社区提单,并附上日志

登录 后才可以发表评论

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

搜索帮助