事务提交后的回调抛错,为什么仍会回滚项目转移:GitLab after-commit 回调的失败边界
GitLab 项目转移在 WithLockRetries 事务提交时运行 run_after_commit 回调,此时仍位于 commit_transfer 的 rescue Exception 内。回调抛错会让 rescue 分支…
发布于 2026-11-20 · 沐小悠 · 约 6 分钟
17 次阅读 阅读 →