已合并
替换rdtscp指令集为rdtsc,兼容不存在该指令集的机器 #8998
替换rdtscp指令集为rdtsc,兼容不存在该指令集的机器 #8998
已合并
zhangxubo创建于 2月14日
zhangxubo
zhangxubo成员
2月14日

【标题】替换rdtscp指令集为rdtsc,兼容不存在该指令集的机器

【实现内容】: 替换rdtscp指令集为rdtsc,兼容不存在该指令集的机器

【根因分析】:
部分机型的x86机器,虚拟机没开启rdtscp(CPU直通模式),会导致数据库启动失败。 rdtscp仅在mot下使用,但是即便不适用mot,数据库启动也会初始化加载这个。

【实现方案】:
将rdtscp改为rdtsc指令集,兼容性更好。(性能有存在影响,但是仅涉及mot)

【关联需求或issue】: https://gitcode.com/opengauss/community/issues/435

【开发自验报告】:

  1. 请附上自验结果(内容或者截图)
  2. 是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
  3. 是否涉及资料修改,如是,在docs仓库补充资料
  4. 是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
  5. 是否考虑在线扩容等扩展场景
  6. 是否考虑异常场景/并发场景/前向兼容/性能场景
  7. 是否对其他模块产生影响
  8. 是否需要回合补丁版本(5.0、6.0),涉及(结果错误|coredump|性能劣化|内存泄露|集群异常)相关修复请排查回合补丁分支

【其他说明】:

likedislike
Pull Request已成功合入, 合并人@opengauss_bot
(感谢 zhangxubo 的贡献)
zhangxubozhangxubo成员
2月14日 关联了issue:[Bug]: 官网下载的openGauss 6.0.3 (LTS)docker镜像,x86架构和arm架构均不能启动
opengauss_botopengauss_bot成员
2月14日 添加了label:sig/StorageEnginesig/SQLEnginesig/SecurityTechnologysig/CMsig/CloudNativesig/AI
opengauss_bot
opengauss_bot成员
2月14日 评论:

Welcome To openGauss Community

Hey @zhangxubo , 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: AI, CM, CloudNative, SQLEngine, SecurityTechnology, StorageEngine ,
and any of the maintainers: @gaussyuexz, @hwworkholic, @jackchenchenchen, @libiao2024, @shaga, @totaj, @wangwei5, @yanghaos, @zhu_jinwei, @ziki77, @zjxqxf ,
and any of the committers: @CarrotGo, @Igali, @bihua111, @cailei19, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @h_ray, @jemappellehc, @levy53071, @libiao2024, @lihaixiao, @mrzack, @muyulinzhong, @quemingjian, @shirley_zhengx, @superlchf, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zjh_hw .

likedislike
opengauss_botopengauss_bot成员
2月14日 添加了label:codecheck-running
opengauss_botopengauss_bot成员
2月14日 添加了label:opengauss-cla/yes
opengauss_bot
opengauss_bot成员
2月14日 评论:

CLA Signature Pass

zhangxubo, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
opengauss_botopengauss_bot成员
2月14日 添加了label:ci-pipeline-running
opengauss_botopengauss_bot成员
2月14日 添加了label:need-doc-pr
opengauss_botopengauss_bot成员
2月14日 添加了label:lite-ci-running
opengauss_bot
opengauss_bot成员
2月14日 评论:

Linking PR Notice

@zhangxubo , the pull request should be linked to at least one https://gitcode.com/opengauss/docs repository's PR.
If it is confirmed that no PR association is needed, you can remove the label by commenting /remove-need-doc .

likedislike
opengauss_bot
opengauss_bot成员
2月14日 评论:

开源片段扫描

Check Name Build Details Check Result Check Detail
sca #32355 ✅ 通过 >>>
likedislike
opengauss_botopengauss_bot成员
2月14日 添加了label:sca-success
opengauss_bot
opengauss_bot成员
2月14日 评论:

静态检查

Check Name Build Details Check Result Check Detail
CodeCheck #69511 ✅ 通过 >>>
likedislike
opengauss_botopengauss_bot成员
2月14日 添加了label:codecheck-success
opengauss_botopengauss_bot成员
2月14日 删除了label:codecheck-running
opengauss_botopengauss_bot成员
2月14日 删除了label:lite-ci-running
opengauss_botopengauss_bot成员
2月14日 添加了label:lite-ci-success
opengauss_bot
opengauss_bot成员
2月14日 评论:
Check Name Build Result Build Details
openGauss_Lite_Pr SUCCESS #519
likedislike
opengauss_botopengauss_bot成员
2月14日 删除了label:ci-pipeline-running
opengauss_botopengauss_bot成员
2月14日 添加了label:ci-pipeline-success
opengauss_bot
opengauss_bot成员
2月14日 评论:
Check Name Build Result Build Details
openGauss_server_pr Success #27600
likedislike
zhangxubo
zhangxubo成员
2月24日 评论:

/check-pr

likedislike
opengauss_bot
opengauss_bot成员
2月24日 评论:

Merge Verification Failed

@zhangxubo, this pr is not mergeable and the reasons are below:

Label BackList
  • the need-doc-pr label(s) caused the pull request to be unable to merge.
Not Enough LGTM Labels
  • the pull request needs 2 lgtm labels and now gets 0.
Missing Labels
  • the pull request needs approved label(s).
Label Usage Tips
  • need-doc-pr: the pull request should be linked to at least one https://gitcode.com/opengauss/docs repository's PR. If it is confirmed that no PR association is needed, you can remove the label by commenting /remove-need-doc .
  • lgtm: The code has been reviewed. This can be accomplished by commenting /lgtm
  • approved: Agree to merge the pull request. This can be accomplished by commenting /approve
likedislike
jianghongbo
jianghongbo
2月24日 评论:

/lgtm
/approve

likedislike
opengauss_botopengauss_bot成员
2月24日 添加了label:lgtm-hw_hbj
opengauss_bot
opengauss_bot成员
2月24日 评论:

Review Code Feedback

  • The label lgtm-hw_hbj was added to this pull request. It means that hw_hbj reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
opengauss_botopengauss_bot成员
2月24日 添加了label:approved
opengauss_bot
opengauss_bot成员
2月24日 评论:

Review Code Feedback

  • The label approved was added to this pull request. It means that hw_hbj reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
zhangxubo
zhangxubo成员
2月24日 评论:

/remove-need-doc

likedislike
opengauss_botopengauss_bot成员
2月24日 删除了label:need-doc-pr
hwworkholic
hwworkholic成员
2月24日 评论:

/lgtm

likedislike
opengauss_botopengauss_bot成员
2月24日 添加了label:lgtm-hwworkholic
opengauss_bot
opengauss_bot成员
2月24日 评论:

Review Code Feedback

  • The label lgtm-hwworkholic was added to this pull request. It means that hwworkholic reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
opengauss_botopengauss_bot成员
2月24日 合入了pull request,合并节点 SHA:8634adf492426aea7c6001ed897da14522c764d5
opengauss_botopengauss_bot成员
2月24日 删除了label:codecheck-success
opengauss_botopengauss_bot成员
2月24日 添加了label:codecheck-running
opengauss_bot
opengauss_bot成员
2月24日 评论:

开源片段扫描

Check Name Build Details Check Result Check Detail
sca #32410 ✅ 通过 >>>
likedislike
opengauss_bot
opengauss_bot成员
2月24日 评论:

静态检查

Check Name Build Details Check Result Check Detail
CodeCheck #69581 ✅ 通过 >>>
likedislike
opengauss_botopengauss_bot成员
2月24日 添加了label:codecheck-success
opengauss_botopengauss_bot成员
2月24日 删除了label:codecheck-running