已关闭
[Bug]: 加载PQ动态库同时环境变量中设置GOMP_CPU_AFFINITY自动绑定cpu #8350
wangjingyuan8创建于  7月27日关闭于  8月12日
wangjingyuan8
wangjingyuan8成员
7月27日 创建

测试类型

SQL功能

测试版本

7.0.0LTS

问题描述

操作系统和硬件信息

NAME="openEuler"
VERSION="22.03 (LTS-SP4)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP4)"
ANSI_COLOR="0;31"

测试环境

企业版单机

被测功能

预置条件

操作步骤

1、export GOMP_CPU_AFFINITY=0
2、启动gaussdb进程
3、taskset -pc PID 结果为0

预期输出

gaussdb不被绑定cpu

实际输出

gaussdb被绑定到cpu 0

日志信息

无

提单组织

内部开发

测试代码

likedislike
wangjingyuan8wangjingyuan8成员
7月27日 添加了label:bug
opengauss_botopengauss_bot成员
7月27日 添加了label:sig/StorageEngine,sig/AI,sig/CM,sig/CloudNative,sig/SecurityTechnology,sig/SQLEngine
opengauss_bot
opengauss_bot成员
7月27日 评论:

Welcome To openGauss Community

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

Contact Guide

If you have any questions, please contact the SIG: StorageEngine, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .

likedislike
wangjingyuan8wangjingyuan8成员
7月27日 关联了pull request:【6.0回合】修复加载libkvecturbo.so同时环境变量中设置GOMP_CPU_AFFINITY自动绑定cpu的问题
wangjingyuan8
wangjingyuan8成员
7月30日 评论:

B016自验证:
img_v3_02142_0bb35a49-66c5-4b4e-8b4a-fc296df0180g.jpg

likedislike
wangjingyuan8wangjingyuan8成员
7月30日 issue状态由 待办的 改变为 待回归
sungang14sungang14成员
8月3日 关联了看板:openGauss 7.0.0-LTS
jiangyan
jiangyan成员
8月12日 评论:

回归日期:2026年8月12日
回归结论:通过
回归版本:openGauss7.0.0LTS B017

image.png

likedislike
jiangyanjiangyan成员
8月12日 issue状态由 待回归 改变为 已验收
jiangyanjiangyan成员
8月12日 关闭了 issue