Repository navigation
Conversation
This was referenced Jul 24, 2026
LE0-Lin
marked this pull request as ready for review
July 24, 2026 16:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Closes #199
改动
opentenbase_ctl实现重整中文 README 的编译和部署步骤,删除已经不存在的prepare config命令。conf文件和 SSH 主机指纹等前置条件。验证
验证基于
b612d77,环境为 CentOS 7 x86_64、4 vCPU。原有 4 GB RAM 不足以完成 CN/DN 初始化,测试时临时增加 6 GB swap,结束后已移除;README 保留原有的 8 GB 最低内存要求,并补充了对应错误的排查入口。configure复现zstd library not found;按 OpenTenBase-DevEnv 的 CentOS 7 依赖补齐 GCC 7、ZSTD/LZ4 后通过。make clean && make -j1 && make install通过,contrib编译安装通过。ldd检查通过。cn-to-dn-ok、second-row两行数据。git diff --check、Markdown lint、20 个 shell 代码块语法检查、3 个 INI 示例和相对链接检查通过。AI 使用说明
Issue 要求说明 AI 的使用方式。本次使用 ChatGPT 对照 Issue、README 和部署工具源码整理检查项,辅助初稿措辞和重复性测试命令。
部署结论均以当前源码和实际运行结果为准:CLI 子命令核对
command.cpp与--help,配置字段核对模板和解析代码,CentOS 7 依赖核对官方 DevEnv。未能从仓库或实测结果确认的依赖、端口和行为没有写入文档。未采用的初稿建议包括:在
install后无条件执行start(正常安装会直接启动节点)、固定数据库端口(工具会动态分配),以及永久关闭 SELinux 或防火墙(不适合生产环境)。