| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
新增get_statement_history测试用例 | 1 年前 | |
| 3 个月前 | ||
修复xlog爆栈问题 | 1 年前 | |
处理源代码缺陷检测报告 | 1 年前 | |
add openGauss 3.1.0 feature code | 3 年前 | |
fix -D para | 5 个月前 | |
修复memcheck | 1 年前 | |
微重构-加固analyze过程中中断任务,移除无效冗余代码 | 9 个月前 | |
codebase | 3 个月前 | |
codebase | 3 个月前 | |
add openGauss 3.1.0 feature code | 3 年前 | |
fix(pg_recvlogical): bounds-check parallel-decode stream payloads (CWE-125) The text-mode decoders in pg_recvlogical's parallel logical replication path trusted every length field embedded in the server-supplied stream and fed them directly into appendBinaryPQExpBuffer (raw memcpy). A controlled or impersonated replication server could send a CopyData frame whose internal schemaLen/tableLen/colLen/dataLen/timeLen/changeLen pointed past the actual payload, causing the client to either leak adjacent process memory into the output file/stdout or crash. This change: - Threads payload_len from StreamLogicalLog through every decoder and validates every read against the actual PQgetCopyData-returned size via a new HasRemaining() helper. Each decoder returns false on the first malformed/oversized length field, and StreamLogicalLog discards the partially-decoded buffer and aborts the stream instead of writing it to outfd. Also closes a single-byte OOB read on the P/F trailer tag in StreamToText and adds a sanity check that changeLen is at least sizeof(XLogRecPtr) in BatchStreamToText. - Extracts ResolveTuple, DMLToText, BeginToText, CommitToText, StreamToText, BatchStreamToText and their helpers into a new src/bin/pg_basebackup/logical_decode.{h,cpp}. - Rejects malformed DML opcodes in DMLToText. Previously any byte other than 'I' or 'U' was treated as a DELETE, so a corrupted action byte produced a seemingly valid \"DELETE FROM ...\" and masked protocol corruption. Only accept 'I', 'U', 'D' explicitly and return false on any other value. - Replaces bare sizeof(uint32)*2 / sizeof(uint32)*4 multipliers in HasRemaining() calls with named constants (UINT64_PAIR_SIZE and BEGIN_FIXED_HEADER_SIZE) so readers do not have to decode the arithmetic at each call site. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> | 3 个月前 | |
upgrade version | 11 个月前 | |
修复双集群升级 | 1 年前 | |
| 4 个月前 | ||
checkin: memcheck, subscription fix, upgrade fix | 3 个月前 | |
!9009 merge pgstat_dev into master pgstat重构使用共享内存存储,消除stat collector线程 Created-by: hw_hbj Commit-by: shenzheng4;hw_hbj Merged-by: opengauss_bot Description: 【标题】(请简要描述下实现的内容) 【实现内容】: 去除pgstat collector线程,使用共享内存来存储统计项。 【根因分析】: 原有pgstat线程和文件读写的方式对CPU和IO的开销比较大,通过共享内存的方式来降低这部分开销。 【实现方案】: 1、将原有 pgstat 线程 + 统计文件实时读写 改造为 共享内存直写/读取 2、共享内存直写的基础上,仅针对高频统计引入 本地累计 + 批量合并 【关联需求或issue】: https://gitcode.com/opengauss/org-issue/issues/1336 【开发自验报告】: 1. 请附上自验结果(内容或者截图) sysbench测试,优化前后资源收益;insert场景,收益明显  2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例 3. 是否涉及资料修改,如是,在docs仓库补充资料 4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式) 5. 是否考虑在线扩容等扩展场景 6. 是否考虑异常场景/并发场景/前向兼容/性能场景 7. 是否对其他模块产生影响 8. 是否需要回合补丁版本(5.0、6.0),涉及(**结果错误|coredump|性能劣化|内存泄露|集群异常**)相关修复请排查回合补丁分支 【其他说明】: See merge request: opengauss/openGauss-server!9009 | 5 个月前 | |
日志合一适配gs_probackup, gs_resetxlog | 1 年前 | |
| 4 个月前 | ||
add openGauss 3.1.0 feature code | 3 年前 | |
Patch for 930 release | 4 年前 | |
[bugfix] fix pg_database for dolphin.lower_case_table_names | 5 个月前 | |
checkin: memcheck, subscription fix, upgrade fix | 3 个月前 | |
合并bin/script下的工具help命令有内存泄漏问题 | 1 年前 | |
更新ub头文件并增加错误码判断 | 9 个月前 | |
内存池共享内存加速RTO | 1 年前 | |
内存池共享内存加速RTO | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 3 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 年前 | ||
| 3 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 3 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 1 年前 |