fa18f55ce6
6.0fix 升级未提交时的归档问题
2025-06-11 11:28:53 +08:00
ba182c902e
fix 设置archive_command为空
2025-06-11 11:07:15 +08:00
14e2ceb340
6.0资源池XLOG支持归档
2025-06-11 11:06:53 +08:00
290cb342d4
fix initPollfd
2025-06-11 11:03:40 +08:00
7645c5ebe3
merge fix_next_tk into 6.0.0
...
【回合 600】修复复合 token 报错问题
Created-by: bomou
Commit-by: He Bomou
Merged-by: opengauss_bot
Description: 【标题】
【回合 600】修复复合 token 报错问题
【实现内容】
【回合 600】修复复合 token 报错问题
【根因分析】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7054
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7210
【实现方案】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7054
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7210
【关联需求或issue】
https://gitcode.com/opengauss/Plugin/issues/1388
[#6532 ](https://gitcode.com/opengauss/openGauss-server/issues/6532 )
【开发自验报告】
脚本:
```sql
drop false abc;
drop false on abc;
create index on on;
create index on on Keyword_on_0023(id);
```

See merge request: opengauss/openGauss-server!7879
2025-06-11 10:43:46 +08:00
13eb69384c
【回合 600】修复复合 token 报错问题
...
Co-authored-by: He Bomou<paakmau@outlook.com >
2025-06-11 10:43:45 +08:00
0f9ccd37ca
merge 6.0.0 into 6.0.0
...
回合
Created-by: jinyangzhen
Commit-by: jinyangzhen;chendong76;jiangyan
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7873
2025-06-10 21:42:58 +08:00
73c80069f3
merge 6.0.0bugfix1 into 6.0.0
...
【回合6.0.0】修复因为处理无效信息时重复build partition导致SMGR为非NULL的问题
Created-by: wofanzheng
Commit-by: wofanzheng
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
修复因为处理无效信息时重复build partition导致SMGR为非NULL的问题
【实现内容】:
修复因为处理无效信息时重复build partition导致SMGR为非NULL的问题
【根因分析】:
https://gitee.com/opengauss/openGauss-server/pulls/4736 该PR引入
在处理无效消息时出现嵌套build Relation/Partition,在Relation build时会打开所有index Partition,导致partition->pd_smgr被赋值,后面回到第一层中build的Partition无效需要重新build,这时候Assert(NULL == part->pd_smgr)断言失败,发生core。
【实现方案】:
在build的Partition无效时,关闭对应pd_smgr之后再重新build。
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7080
【开发自验报告】:
请附上自验结果(内容或者截图)
原问题偶现,设计如下脚本
输入图片说明
重复执行问题脚本100次,未出现问题
输入图片说明
是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
不涉及
是否涉及资料修改,如是,在docs仓库补充资料
不涉及
是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
不涉及
是否考虑在线扩容等扩展场景
不涉及
是否考虑异常场景/并发场景/前向兼容/性能场景
不涉及
是否对其他模块产生影响
不涉及
【其他说明】:无
See merge request: opengauss/openGauss-server!7866
2025-06-10 21:20:28 +08:00
3e833b5ce6
merge 6.0.0bugfix2 into 6.0.0
...
【回合6.0.0】修复simple_query场景下opfusion上下文没有及时销毁问题
Created-by: wofanzheng
Commit-by: wofanzheng
Merged-by: opengauss_bot
Description: 修复simple_query场景下opfusion上下文没有及时销毁问题
【标题】(请简要描述下实现的内容)
修复simple_query场景下opfusion上下文没有及时销毁问题
【实现内容】:
在opfusion对象不复用时销毁opfusion对象,并释放相关上下文
【根因分析】:
单事务插入场景下,opfusion对象重复创建,相关上下文重复创建,导致数据库实例动态内存占用过高
【实现方案】:
在opfusion对象不复用时销毁opfusion对象,并释放相关上下文
【关联需求或issue】:
https://e.gitee.com/opengaussorg/dashboard?issue=IB0QG4
【开发自验报告】:
执行脚本,内存占用正常
输入图片说明
请附上自验结果(内容或者截图)
是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
否
是否涉及资料修改,如是,在docs仓库补充资料
否
是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)、
否
是否考虑在线扩容等扩展场景
否
是否考虑异常场景/并发场景/前向兼容/性能场景
否
是否对其他模块产生影响
否
【其他说明】:无
See merge request: opengauss/openGauss-server!7869
2025-06-10 21:01:17 +08:00
6cc4d092fd
修复因为处理无效信息时重复build_partition导致SMGR为非NULL的问题
2025-06-10 20:32:11 +08:00
687a7fe2d8
修复simple_query场景下opfusion上下文没有及时销毁问题
2025-06-10 20:27:11 +08:00
89ae0bbeca
merge 6.0.0 into 6.0.0
...
bugfix回合6.0.0
Created-by: chen-chao6661
Commit-by: chen-chao6661
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7876
2025-06-10 19:59:33 +08:00
81adaeec0c
merge fix_lscpu into 6.0.0
...
【回合 600】修复 24.03 通过 lscpu 获取 CPU 数量有误的问题
Created-by: bomou
Commit-by: bomou
Merged-by: opengauss_bot
Description: 【标题】
【回合 600】修复 24.03 通过 lscpu 获取 CPU 数量有误的问题
【实现内容】
修复 24.03 通过 lscpu 获取 CPU 数量有误的问题
【根因分析】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7720
【实现方案】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/7720
【关联需求或issue】
https://gitcode.com/opengauss/openGauss-server/issues/6981
【开发自验报告】
GUC 参数:
```conf
enable_thread_pool = on
thread_pool_attr = '200,2,(cpubind:1-60, 250-255)'
```
将 guc 配置为边界值,启动成功:

构造异常 guc 参数,启动失败

See merge request: opengauss/openGauss-server!7874
2025-06-10 16:26:54 +08:00
2f73337f4e
【回合 600】修复 24.03 通过 lscpu 获取 CPU 数量有误的问题
...
Co-authored-by: bomou<paakmau@outlook.com >
2025-06-10 16:26:53 +08:00
4ea8cce763
merge fix_create_user into 6.0.0
...
【回合 6.0.0】修正 `CREATE USER` 语法解析报错信息
Created-by: bomou
Commit-by: He Bomou
Merged-by: opengauss_bot
Description: 【标题】
【回合 6.0.0】修正 `CREATE USER` 语法解析报错信息
【实现内容】
【回合 6.0.0】修正 `CREATE USER` 语法解析报错信息
【根因分析】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/6659
【实现方案】
回合 pr:https://gitcode.com/opengauss/openGauss-server/pull/6659
【关联需求或issue】
[#305 ](https://gitcode.com/opengauss/openGauss-server/issues/305 )
【开发自验报告】:
修复前:

修复后:

See merge request: opengauss/openGauss-server!7863
2025-06-10 15:56:22 +08:00
f65075d89f
【回合 6.0.0】修正 CREATE USER 语法解析报错信息
...
Co-authored-by: He Bomou<paakmau@outlook.com >
2025-06-10 15:56:22 +08:00
59ca37735e
merge fix_asan into 6.0.0
...
【回合 600】修复若干 asan 内存问题
Created-by: bomou
Commit-by: He Bomou
Merged-by: opengauss_bot
Description: 【标题】
【回合 600】修复若干 asan 内存问题
【实现内容】
【回合 600】修复若干 asan 内存问题
【根因分析】
回合 https://gitcode.com/opengauss/openGauss-server/pull/7285
【实现方案】
回合 https://gitcode.com/opengauss/openGauss-server/pull/7285
【关联需求或issue】
[#6094 ](https://gitcode.com/opengauss/openGauss-server/issues/6094 )
【开发自验报告】
不影响功能,门禁通过即可
See merge request: opengauss/openGauss-server!7875
2025-06-10 15:56:10 +08:00
9597b7ab6a
【回合 600】修复若干 asan 内存问题
...
Co-authored-by: He Bomou<paakmau@outlook.com >
2025-06-10 15:56:10 +08:00
250e5e7064
merge 6.0.0 into 6.0.0
...
【回合6.0.0】 支持dolphin 4.1-4.2升级
Created-by: wangfeihuo
Commit-by: wangfeihuo
Merged-by: opengauss_bot
Description: 【标题】支持dolphin 4.1-4.2升级
【实现内容】: 支持dolphin 4.1-4.2升级
【根因分析】: 支持dolphin 4.1-4.2升级
【实现方案】: 支持dolphin 4.1-4.2升级
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7095
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
4.1-4.2 升级:



回滚:

再升级:

4.2-5.0:
升级:

回滚:

再升级:

2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
不涉及
3. 是否涉及资料修改,如是,在docs仓库补充资料
不涉及
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
涉及
5. 是否考虑在线扩容等扩展场景
不涉及
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
不涉及
7. 是否对其他模块产生影响
不涉及
【其他说明】:
See merge request: opengauss/openGauss-server!7812
2025-06-10 15:17:22 +08:00
1dba85a34b
回合主干bugfix
2025-06-10 15:08:59 +08:00
ed9b2450f8
回滚fix recoveryid no consistence for failover many times when enble reatime-build
2025-06-10 11:17:19 +08:00
2eb7a2d910
解决资源池化日志合一后双写区未初始化导致的coredump问题
2025-06-10 11:04:26 +08:00
0fdf87070a
日志合一适配gs_probackup, gs_resetxlog
2025-06-10 11:03:58 +08:00
b03aadddf5
6.0资源池化适配日志合一
2025-06-10 11:02:15 +08:00
d11a440364
放开首轮reform限制
2025-06-10 10:53:20 +08:00
36e94bc3ca
merge 6.0.0 into 6.0.0
...
更新版本号到6.0.2
Created-by: qq1583200484
Commit-by: zhangxubo
Merged-by: opengauss_bot
Description: 【标题】更新版本号到6.0.2
【实现内容】: 更新版本号到6.0.2
【根因分析】: 6.0.2补丁版本发布,更新包版本号
【实现方案】:
【关联需求或issue】: https://gitcode.com/opengauss/release-management/issues/12
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7849
2025-06-09 20:56:12 +08:00
db36b35301
merge master into 6.0.0
...
【回合】回合历史bugfix到6.0.2
Created-by: muyulinzhong
Commit-by: muyulinzhong
Merged-by: opengauss_bot
Description: 【标题】【回合】回合历史bugfix到6.0.2
【实现内容】:【回合】回合历史bugfix到6.0.2
【根因分析】:【回合】回合历史bugfix到6.0.2
【实现方案】:【回合】回合历史bugfix到6.0.2
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7852
2025-06-09 15:05:14 +08:00
25bcc98c9e
merge 6.0.0 into 6.0.0
...
回合masterPR到6.0.0
Created-by: zhong-chengzhi
Commit-by: 钟承志
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
https://gitcode.com/opengauss/openGauss-server/issues/7130
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7130
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7842
2025-06-09 11:10:01 +08:00
3057a64136
支持dolphin 4.1-4.2 升级
2025-06-09 09:55:42 +08:00
cf0a3d9cdd
modified: src/include/ddes/dms/ss_reform_common.h
2025-06-09 09:28:00 +08:00
b36d741913
merge 600_fix into 6.0.0
...
[回合6.0.0] 解决不支持avx指令集的x86环境编译失败问题
Created-by: wlff234
Commit-by: wlff
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
添加宏判断,解决不支持avx指令集的x86环境编译失败问题
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7837
2025-06-08 09:35:07 +08:00
05195b4ab7
修复因分号导致的越界问题
2025-06-07 17:17:16 +08:00
f9be1797a6
放开资源池化对于临时表的限制
2025-06-07 17:14:56 +08:00
71eb1df7db
修复CheckIdTransactionSessionTimeout()中计数变量错误
2025-06-07 17:12:05 +08:00
10314cdd8c
[修改]因删除buffer置脏导致的initdb流程异常的问题
2025-06-07 17:10:19 +08:00
31d56f4f69
修复段页式下因被kill所导致的页面size错误的问题
2025-06-07 17:10:01 +08:00
7eefbe5a47
merge bypass_6 into 6.0.0
...
[回合6.0.0] 【兼容性组】向量索引扫描支持SQL Bypass
Created-by: superlchf
Commit-by: superlchf
Merged-by: opengauss_bot
Description: 【标题】[回合6.0.0] 【兼容性组】向量索引扫描支持SQL Bypass
【实现内容】:
同步代码
https://gitcode.com/opengauss/openGauss-server/pull/7734
【根因分析】:
【实现方案】:
【关联需求或issue】:
https://gitcode.com/opengauss/org-issue/issues/1276
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
测试参考之前pr的测试说明。
See merge request: opengauss/openGauss-server!7845
2025-06-07 17:05:49 +08:00
f98f194b5c
merge gc_6.0 into 6.0.0
...
master回合MR到6.0, bugfix
Created-by: hwworkholic
Commit-by: cchen676
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
master回合MR到6.0, bugfix
【实现内容】:
master回合MR到6.0, bugfix
【根因分析】:
master回合MR到6.0, bugfix
【实现方案】:
回合以下3个PR:
https://gitee.com/opengauss/openGauss-server/pulls/6619
修复备机写转发在备机自己报错后无法转ROLLBACK给主机的问题
https://gitee.com/opengauss/openGauss-server/pulls/7109
修复页面中在读磁盘的过程中触发了rebuild, 在dms中对比校验失败的问题
https://gitee.com/opengauss/openGauss-server/pulls/7296
解决jdbc中直接发送显式的prepare语句,备机写转发报错的问题
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7120
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
```TPCC 备机读加备机写转发
09:55:09,948 [main] INFO jTPCC : Term-00,
09:55:09,950 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+
09:55:09,951 [main] INFO jTPCC : Term-00, BenchmarkSQL v5.0
09:55:09,951 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+
09:55:09,951 [main] INFO jTPCC : Term-00, (c) 2003, Raul Barbosa
09:55:09,951 [main] INFO jTPCC : Term-00, (c) 2004-2016, Denis Lussier
09:55:09,953 [main] INFO jTPCC : Term-00, (c) 2016, Jan Wieck
09:55:09,953 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+
09:55:09,953 [main] INFO jTPCC : Term-00,
09:55:09,953 [main] INFO jTPCC : Term-00, db=postgres
09:55:09,954 [main] INFO jTPCC : Term-00, driver=org.postgresql.Driver
09:55:09,954 [main] INFO jTPCC : Term-00, conn=jdbc:postgresql://127.0.0.1:13210/tpcc?prepareThreshold=1&batchMode=on&fetchsize=10&loggerLevel=OFF
09:55:09,954 [main] INFO jTPCC : Term-00, user=tpcc Term-00, Running Average tpmTOTAL: 61477.85 Current tpmTOTAL: 40784424 Memory Usage: 5554MB / 5655MB
```
```功能测试
java -cp ./postgresql.jar:/usr1/cctest2/case46/ Opengauss_SharedStorage_MultiNodeWrite_Case0061 -F JDBC_MultiNodeWrite_Case0057.properties
jdbc:postgresql://10.145.7.72:13210/tpcc
Jun 07, 2025 9:30:08 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: [646fc929-e487-4209-87e9-0f007fc2aab5] Try to connect. IP: 10.145.7.72:13210
Jun 07, 2025 9:30:09 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: [10.145.7.72:60920/10.145.7.72:13210] Connection is established. ID: 646fc929-e487-4209-87e9-0f007fc2aab5
Jun 07, 2025 9:30:09 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: Connect complete. ID: 646fc929-e487-4209-87e9-0f007fc2aab5
org.postgresql.util.PSQLException: [10.145.7.72:60920/10.145.7.72:13210] ERROR: relation "t_multi_node_write_0061" does not exist on node2
Position: 55
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2914)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2643)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375)
at org.postgresql.jdbc.PgStatement.runQueryExecutor(PgStatement.java:561)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:538)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:396)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:125)
at Opengauss_SharedStorage_MultiNodeWrite_Case0061.PrepareSQL(Opengauss_SharedStorage_MultiNodeWrite_Case0061.java:104)
at Opengauss_SharedStorage_MultiNodeWrite_Case0061.main(Opengauss_SharedStorage_MultiNodeWrite_Case0061.java:170)
org.postgresql.util.PSQLException: [10.145.7.72:60920/10.145.7.72:13210] ERROR: prepared statement "insert_table" does not exist
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2914)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2643)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375)
at org.postgresql.jdbc.PgStatement.runQueryExecutor(PgStatement.java:561)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:538)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:396)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:125)
at Opengauss_SharedStorage_MultiNodeWrite_Case0061.ExecuteSQL(Opengauss_SharedStorage_MultiNodeWrite_Case0061.java:120)
at Opengauss_SharedStorage_MultiNodeWrite_Case0061.main(Opengauss_SharedStorage_MultiNodeWrite_Case0061.java:171)
⚙ cctest2@host72 ~/case46 vim JDBC_MultiNodeWrite_Case0057.properties
java -cp ./postgresql.jar:/usr1/cctest2/case46/ Opengauss_SharedStorage_MultiNodeWrite_Case0061 -F JDBC_MultiNodeWrite_Case0057.properties
jdbc:postgresql://10.145.7.72:13210/tpcc
Jun 07, 2025 9:30:41 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: [a2b026ef-b3a1-442a-937c-f12a0e38acd2] Try to connect. IP: 10.145.7.72:13210
Jun 07, 2025 9:30:42 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: [10.145.7.72:32954/10.145.7.72:13210] Connection is established. ID: a2b026ef-b3a1-442a-937c-f12a0e38acd2
Jun 07, 2025 9:30:42 AM org.postgresql.core.v3.ConnectionFactoryImpl openConnectionImpl
INFO: Connect complete. ID: a2b026ef-b3a1-442a-937c-f12a0e38acd2
1 | test
```
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7819
2025-06-07 12:03:47 +08:00
ff67ec9904
新增向量数据库的bypass功能
2025-06-07 11:54:10 +08:00
6bc84de179
update version to 6.0.2
2025-06-07 11:50:54 +08:00
8fe0538ee1
回合以下3个PR:
...
https://gitee.com/opengauss/openGauss-server/pulls/6619
修复备机写转发在备机自己报错后无法转ROLLBACK给主机的问题
https://gitee.com/opengauss/openGauss-server/pulls/7109
修复页面中在读磁盘的过程中触发了rebuild, 在dms中对比校验失败的问题
https://gitee.com/opengauss/openGauss-server/pulls/7296
解决jdbc中直接发送显式的prepare语句,备机写转发报错的问题
2025-06-07 10:14:07 +08:00
70b33c14e9
merge 6.0.2 into 6.0.0
...
Improve kernel's extension scalability
Created-by: zcj112
Commit-by: libiao
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【实现内容】:
bgworker 支持独立于启动它的backend运行,生命周期、快照、事务等信息不跟随backend
1.1 为bgworker增加flag,标识此类独立的bgworker
1.2 backend退出时,不给独立的bgworker发SIGINT信号,也不等待他的退出,因为此类bgworker会在后台持续运行,相关的内存也不释放,使用instance级别的context
1.3 PM退出时,对独立的bgwoker发SIGTERM信号退出
1.4 事务commit/abort时,独立的bgworker按正常backend处理
新增extensiblenode相关结构体适配,支持第三方插件通过extensiblenode实现自定义功能
spq插件加载过程中,允许系统表修改。
原IsConnPortFromCoord宏只对旧版本的SPQ插件可见,现改为全局可见,允许所有从coordinator发起的连接使用远程trust连接,并且若发现客户端非coordinator,则跳过这条trust规则,允许继续在pg_hba.conf中继续查找后续规则。
若spq目录存在,则编译和打包也会包含spq的编译和打包。
【根因分析】:
当前bgworker和启动bgworker的线程属于强绑定关系,这个逻辑适用于并行查询/并行创建索引的场景,如果发起并行查询的线程退出了,后台对应的bgworker确实也应该相应退出。但是这个逻辑不适用于独立的bgworker,对于插件,可能需要拉起一个自定义的bgworker,他是独立于发起线程的,有自己独立的生命周期,可以理解成现在openGauss后台已有的那些后台线程,属于常驻后台线程,不应该随发起bgworker的线程退出而退出,所以需要适配此种场景。
spq插件实现分布式,其中涉及:1.插件加载时需要修改系统表 2.分布式运行过程中,需要自动从coordinator(CN节点)连接DN节点,此时无法使用密码。
【实现方案】:
【关联需求或issue】:
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7844
2025-06-07 08:59:04 +08:00
b5ef3d8bdd
Improve kernel's extension scalability
...
1.Introduce CustomScan into openGauss
CustomScan is a powerful PostgreSQL feature that allows developers to extend the
query executor by implementing custom scan providers. This enables integration of
specialized data sources or optimization techniques that aren't natively supported
by PostgreSQL.
a. CustomScan node: A plan node that represents the custom scan operation
b. CustomScan methods: Callbacks that implement the scan behavior
c. CustomScan provider: The extension that registers the custom scan implementation
CustomScan is an advanced feature primarily used by extension developers to deeply
integrate specialized data processing capabilities with PostgreSQL's query executor.
add transaction callbacks interface before commit and prepare stage.
extenal extension can use those interface to participate opengauss's
transaction model.
2.adapt bgworker for plugin.
3.Add spq build adaption
4.Fit for extensible plan/extensible node.
5.Allow auth logic to continue search after found an rule with remote trust but the
connection is not from coordinator.
2025-06-06 18:30:56 +08:00
e79da2ce59
modified: gram.y
2025-06-06 17:37:55 +08:00
636561b4fd
merge 0604 into 6.0.0
...
解决创建ivfflat索引时,lists较大导致内存分配不足创建失败的问题
Created-by: wangjingyuan8
Commit-by: wangjingyuan8
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
解决创建ivfflat索引时,lists较大导致内存分配不足创建失败的问题(6.0.0代码回合)
【实现内容】:
【根因分析】:
【实现方案】:
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/issues/7080
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响

【其他说明】:
See merge request: opengauss/openGauss-server!7817
2025-06-06 16:18:55 +08:00
fc6b08b581
merge 6.0.2_回合 into 6.0.0
...
【资源池化6.0.2回合】fix bug for open log file with no permission
Created-by: shirley_zhengx
Commit-by: shirley_zhengx
Merged-by: opengauss_bot
Description: 【标题】(请简要描述下实现的内容)
【资源池化6.0.2回合】https://gitcode.com/opengauss/openGauss-server/pull/7611
【实现内容】:
https://gitcode.com/opengauss/openGauss-server/pull/7611
【根因分析】:
https://gitcode.com/opengauss/openGauss-server/pull/7611
【实现方案】:
https://gitcode.com/opengauss/openGauss-server/pull/7611
【关联需求或issue】:
https://gitcode.com/opengauss/openGauss-server/pull/7611
【开发自验报告】:
1. 请附上自验结果(内容或者截图)
编包截图:

停数据库,修改pg_log权限

重启DBstart.log报错

改了权限得节点无法拉起,然后修改回权限,节点正常

2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
3. 是否涉及资料修改,如是,在docs仓库补充资料
4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
5. 是否考虑在线扩容等扩展场景
6. 是否考虑异常场景/并发场景/前向兼容/性能场景
7. 是否对其他模块产生影响
【其他说明】:
See merge request: opengauss/openGauss-server!7834
2025-06-06 14:52:21 +08:00
bc5550cf67
modified: pg_probackup/backup.cpp
...
modified: pg_probackup/show.cpp
modified: show.cpp
modified: backup.cpp
modified: show.cpp
modified: show.cpp
modified: pg_probackup/show.cpp
modified: backup.cpp
modified: show.cpp
modified: show.cpp
modified: show.cpp
2025-06-06 14:18:49 +08:00
3c1249a11e
modified: backup.cpp
2025-06-06 14:18:32 +08:00
ef1f9a2e60
modified: backup.cpp
2025-06-06 14:18:05 +08:00
830099137d
modified: backup.cpp
2025-06-06 14:17:52 +08:00