Decouple fatal logging from process termination
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位 LogLevel::kFatal、fatal 日志宏和 FatalHandler 的定义及调用位置。阅读可恢复故障如何使用 Status/Result,并追踪 std::abort() 的调用位置。完成情况应能够通过记录 fatal 条件而不强制进程终止来证明,同时不可恢复不变量导致的终止仍应保持显式。
由索引模型根据 Issue 内容生成。
描述
LogLevel::kFatal and the fatal logging macros unconditionally call std::abort(). FatalHandler runs before the abort, but it is process-global and cannot prevent termination.
This is unsafe for embedded and multi-tenant applications, where one failed Iceberg operation must not terminate the host process.
Logging should not control process lifetime. Recoverable failures should continue to use Status/Result, while termination for unrecoverable internal invariants should use a separate, explicit mechanism.
- 主要语言
- C++
- 星标
- 223
- 派生
- 127
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 28
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/iceberg-cpp 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
apache/iceberg-cpp#973 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
apache/iceberg-cpp#959 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
apache/iceberg-cpp#955 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
apache/iceberg-cpp#946 · 5 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
apache/iceberg-cpp#944 ·
维护者通常 1 天内回复
查看 apache/iceberg-cpp 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
microsoft/onnxruntime#33018 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
customer-reported needs-triage question
难度 2/5 1-3 小时 新手友好度 76/100
Azure/azure-sdk-for-cpp#7435 ·
维护者通常 1 天内回复
-
ChromieCraft Generic Confirmed World Event
难度 2/5 1-3 小时 新手友好度 68/100
azerothcore/azerothcore-wotlk#27882 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
aristocratos/btop#1874 ·
维护者通常 1 天内回复