已开启
[Bug]: ss_init_clog_size 文档默认值 10240KB,实际为 0 #7306
wuchenlong创建于  18 天前
wuchenlong
wuchenlong成员
18 天前 创建

测试类型

资料

测试版本

7.0.0LTS

问题描述

database_reference/resource_pooling_parameters.md 中 ss_init_clog_size 写默认值 10240KB、取值范围 1024~1048576KB;产品源码默认与 boot_val、现场 show 均为 0,且允许最小值 0。同主题特性说明 resource_pooling_ub_memory_semantic_acceleration.md 已写默认 0 / 范围 0~1048576,与参数手册不一致,应以代码为准修正参数手册。

操作系统和硬件信息

openEuler 24.03 (LTS-SP2) aarch64(工作台);复现节点 openGauss 224 lts

测试环境

docs

被测功能

资源池化 GUC ss_init_clog_size 默认值/取值范围

预置条件

文档仓 opengauss/docs tip 8675a0be4。224 lts 实测 openGauss 7.0.0 build fad294ac。未手工修改 ss_init_clog_size。

操作步骤

-- 1. 查看参数(未改配置)
SHOW ss_init_clog_size;
SELECT name, setting, unit, boot_val, reset_val, source
FROM pg_settings WHERE name = 'ss_init_clog_size';

-- 2. 对照文档
-- docs/zh/database_reference/resource_pooling_parameters.md ## ss_init_clog_size
-- 取值范围:1024~1048576KB;默认值:10240KB

-- 3. 对照源码(openGauss-server guc_storage.cpp)
-- default=0, min=0, max=1024*1024 (KB)

预期输出

参数手册默认值应为 0(或 0KB),取值范围应为 0~1048576KB,与源码及现场 boot_val 一致。

实际输出

9eee9348d753399c40e445475b8eae55.png

image.png

日志信息

select version();
(openGauss 7.0.0 build fad294ac) compiled at 2026-09-17 ...

建议修改:
1) docs/zh/database_reference/resource_pooling_parameters.md
   - 默认值:10240KB → 0(或 0KB)
   - 取值范围:1024~1048576KB → 0~1048576KB
2) 若有英文镜像章节,同步修改

提单组织

测试团队

likedislike
wuchenlongwuchenlong成员
18 天前 添加了label:bug
opengauss_bot
opengauss_bot成员
18 天前 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
18 天前 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
18 天前 添加了label:sig/Docs
opengauss_bot
opengauss_bot成员
18 天前 评论:

Welcome To openGauss Community

Hey @wuchenlong , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: Docs ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @libiao2024, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Evawudonger, @fyq_lpl, @hemiao3787, @hujunjune, @hw_hbj, @lestertt, @libiao2024, @mentoswang, @sunyunyu, @tongdabao, @wangfeihuo, @zhangxubo, @zijianli16 .

likedislike
wuchenlongwuchenlong成员
18 天前 关联了看板:openGauss 8.0.0-RC1
wuchenlongwuchenlong成员
18 天前 修改了issue 的描述
wuchenlongwuchenlong成员
18 天前 修改了issue 的描述
wuchenlongwuchenlong成员
18 天前 issue优先级由 无优先级 改变为 不重要
wuchenlongwuchenlong成员
18 天前 issue优先级由 不重要 改变为 次要