# Pitfall Log / 踩坑日志

项目：oceanbase/seekdb

摘要：发现 23 个潜在踩坑项，其中 12 个为 high/blocking；最高优先级：安装坑 - 来源证据：Docker seekdb container fails to start。

## 1. 安装坑 · 来源证据：Docker seekdb container fails to start

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Docker seekdb container fails to start
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_4efd5fa8734843b1a38c24dd0bf33ce1 | https://github.com/oceanbase/seekdb/issues/736 | 来源讨论提到 docker 相关条件，需在安装/试用前复核。

## 2. 安装坑 · 来源证据：Error executing `CALL dbms_index_manager.refresh` after upgrade to version 1.3.0

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Error executing `CALL dbms_index_manager.refresh` after upgrade to version 1.3.0
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_87d2b7281ded463c97a2b6b8f75838df | https://github.com/oceanbase/seekdb/issues/744 | 来源类型 github_issue 暴露的待验证使用条件。

## 3. 安装坑 · 来源证据：Release compilation fails on GitHub master branch due to missing devdeps-gtest-1.8.0 package

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Release compilation fails on GitHub master branch due to missing devdeps-gtest-1.8.0 package
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_0952aa164d554b6eb30a33957902e7f2 | https://github.com/oceanbase/seekdb/issues/609 | 来源类型 github_issue 暴露的待验证使用条件。

## 4. 安装坑 · 来源证据：Replace source code dependency for compression libraries with header/static library dependency

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Replace source code dependency for compression libraries with header/static library dependency
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_dd8878c1767f48019a7a6de8ee316b6e | https://github.com/oceanbase/seekdb/issues/431 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 5. 安装坑 · 来源证据：Standby fails to switch to primary with error -4109 (can not change_access_mode) during DDL stress test

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Standby fails to switch to primary with error -4109 (can not change_access_mode) during DDL stress test
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_dd2b26a572f543dca7126dbc35c1f32c | https://github.com/oceanbase/seekdb/issues/272 | 来源类型 github_issue 暴露的待验证使用条件。

## 6. 配置坑 · 来源证据：Fix incorrect results for composite (vector, json->'$.page') NOT IN queries in mysqltest

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Fix incorrect results for composite (vector, json->'$.page') NOT IN queries in mysqltest
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_6ea131c334584a719bcceceb0beddbfb | https://github.com/oceanbase/seekdb/issues/518 | 来源讨论提到 linux 相关条件，需在安装/试用前复核。

## 7. 配置坑 · 来源证据：Fix observer crash when dbms_stats.gather_table_stats references non-existent column in method_opt

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Fix observer crash when dbms_stats.gather_table_stats references non-existent column in method_opt
- 对用户的影响：可能阻塞安装或首次运行。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_b64c8c43b45e4398adf06f1827e5cdd7 | https://github.com/oceanbase/seekdb/issues/460 | 来源讨论提到 windows 相关条件，需在安装/试用前复核。

## 8. 配置坑 · 来源证据：Standby reports 'single replay task cost too much time' (errcode=-4389) after switchover

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Standby reports 'single replay task cost too much time' (errcode=-4389) after switchover
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_19eb5d217a314053acda472366849c4b | https://github.com/oceanbase/seekdb/issues/274 | 来源类型 github_issue 暴露的待验证使用条件。

## 9. 配置坑 · 来源证据：[Bug]: Spatial Reference System has no WGS 84（SRID=4326）support

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：[Bug]: Spatial Reference System has no WGS 84（SRID=4326）support
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_f018b0c63bea4d74b5000c63626fb31a | https://github.com/oceanbase/seekdb/issues/742 | 来源类型 github_issue 暴露的待验证使用条件。

## 10. 配置坑 · 来源证据：mysqltest on Windows fails with error 1210 when renaming table column in mysql_column_priv_sqlqa.mysql_column_priv

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：mysqltest on Windows fails with error 1210 when renaming table column in mysql_column_priv_sqlqa.mysql_column_priv
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_e93f346926154d7d8f0163da3e15da88 | https://github.com/oceanbase/seekdb/issues/470 | 来源讨论提到 windows 相关条件，需在安装/试用前复核。

## 11. 维护坑 · 来源证据：Establish Performance Regression Test for Lite Edition

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：Establish Performance Regression Test for Lite Edition
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_6b7dd4f41b69434d9bb4e93ec3778b4f | https://github.com/oceanbase/seekdb/issues/430 | 来源类型 github_issue 暴露的待验证使用条件。

## 12. 维护坑 · 来源证据：Miscellaneous optimization points for schema service and location refresh

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：Miscellaneous optimization points for schema service and location refresh
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_f1c53e38c174404cbbdce3d467e8db24 | https://github.com/oceanbase/seekdb/issues/435 | 来源类型 github_issue 暴露的待验证使用条件。

## 13. 安装坑 · 来源证据：QPS drops to ~0.2 under read-write mixed workload when async index data volume reaches 100%

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：QPS drops to ~0.2 under read-write mixed workload when async index data volume reaches 100%
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_4517f3a695c0497e923f0ed3e1a50f6b | https://github.com/oceanbase/seekdb/issues/694 | 来源类型 github_issue 暴露的待验证使用条件。

## 14. 配置坑 · 来源证据：Data becomes unsearchable after process restart during asynchronous index refresh

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Data becomes unsearchable after process restart during asynchronous index refresh
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_4b4435e31bfe45cf8d66b4da4cc4ef64 | https://github.com/oceanbase/seekdb/issues/489 | 来源类型 github_issue 暴露的待验证使用条件。

## 15. 配置坑 · 来源证据：Fix Lost connection (2013) when using session debug with extreme parameters for CONCAT/SUBSTRING_INDEX

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Fix Lost connection (2013) when using session debug with extreme parameters for CONCAT/SUBSTRING_INDEX
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_3b877706f3d74849b08d9c4266a350e4 | https://github.com/oceanbase/seekdb/issues/766 | 来源类型 github_issue 暴露的待验证使用条件。

## 16. 配置坑 · 来源证据：Fix error 1526 (no partition found) for self-referencing INSERT...SELECT with count(1)+id on KEY partitioned table unde…

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Fix error 1526 (no partition found) for self-referencing INSERT...SELECT with count(1)+id on KEY partitioned table under parallel DML and trx.branch_savepoint
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_776c25de210245d6ad4460191e5d2e73 | https://github.com/oceanbase/seekdb/issues/636 | 来源类型 github_issue 暴露的待验证使用条件。

## 17. 能力坑 · 能力判断依赖假设

- 严重度：medium
- 证据强度：source_linked
- 发现：README/documentation is current enough for a first validation pass.
- 对用户的影响：假设不成立时，用户拿不到承诺的能力。
- 建议检查：将假设转成下游验证清单。
- 防护动作：假设必须转成验证项；没有验证结果前不能写成事实。
- 证据：capability.assumptions | github_repo:1080442728 | https://github.com/oceanbase/seekdb | README/documentation is current enough for a first validation pass.

## 18. 运行坑 · 运行可能依赖外部服务

- 严重度：medium
- 证据强度：source_linked
- 发现：项目说明出现 external service/cloud/webhook/database 等运行依赖关键词。
- 对用户的影响：本地安装成功不等于能力可用，外部服务不可用会阻断体验。
- 建议检查：确认是否有离线 demo、mock 数据或可替代服务。
- 防护动作：外部服务依赖未明确时，不把本地安装成功等同于能力可用。
- 证据：packet_text.keyword_scan | github_repo:1080442728 | https://github.com/oceanbase/seekdb | matched external service / cloud / webhook / database keyword

## 19. 维护坑 · 维护活跃度未知

- 严重度：medium
- 证据强度：source_linked
- 发现：未记录 last_activity_observed。
- 对用户的影响：新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- 建议检查：补 GitHub 最近 commit、release、issue/PR 响应信号。
- 防护动作：维护活跃度未知时，推荐强度不能标为高信任。
- 证据：evidence.maintainer_signals | github_repo:1080442728 | https://github.com/oceanbase/seekdb | last_activity_observed missing

## 20. 安全/权限坑 · 下游验证发现风险项

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：下游已经要求复核，不能在页面中弱化。
- 建议检查：进入安全/权限治理复核队列。
- 防护动作：下游风险存在时必须保持 review/recommendation 降级。
- 证据：downstream_validation.risk_items | github_repo:1080442728 | https://github.com/oceanbase/seekdb | no_demo; severity=medium

## 21. 安全/权限坑 · 存在评分风险

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：风险会影响是否适合普通用户安装。
- 建议检查：把风险写入边界卡，并确认是否需要人工复核。
- 防护动作：评分风险必须进入边界卡，不能只作为内部分数。
- 证据：risks.scoring_risks | github_repo:1080442728 | https://github.com/oceanbase/seekdb | no_demo; severity=medium

## 22. 维护坑 · issue/PR 响应质量未知

- 严重度：low
- 证据强度：source_linked
- 发现：issue_or_pr_quality=unknown。
- 对用户的影响：用户无法判断遇到问题后是否有人维护。
- 建议检查：抽样最近 issue/PR，判断是否长期无人处理。
- 防护动作：issue/PR 响应未知时，必须提示维护风险。
- 证据：evidence.maintainer_signals | github_repo:1080442728 | https://github.com/oceanbase/seekdb | issue_or_pr_quality=unknown

## 23. 维护坑 · 发布节奏不明确

- 严重度：low
- 证据强度：source_linked
- 发现：release_recency=unknown。
- 对用户的影响：安装命令和文档可能落后于代码，用户踩坑概率升高。
- 建议检查：确认最近 release/tag 和 README 安装命令是否一致。
- 防护动作：发布节奏未知或过期时，安装说明必须标注可能漂移。
- 证据：evidence.maintainer_signals | github_repo:1080442728 | https://github.com/oceanbase/seekdb | release_recency=unknown
