Repository navigation
fix: recognize the audited operator pause acknowledgment - #4706
Conversation
@coderabbitai review |
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
📝 Walkthrough
Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to This change makes recovery recognize the controller's info-level pause acknowledgment, and the existing identity, freshness, and replay protections stay in place. No merge-blocking risk was found, and the tests and README cover the new level. Pre-merge checks |
|
Readiness receipt for The regression first failed against the previous parser: it rejected the audited As a recovery operator, I also ran the current command in read-only mode against the existing paused state. It correctly returned HOLD rather than admitting a paused cluster into a new initial recovery. That check made no production writes and is not evidence that the database has recovered. CodeRabbit's substantive review covers this exact head and reports no actionable findings. PR CI, retained-recovery tests, replacement safety tests, and pause-diagnostic tests passed. Production recovery jobs were skipped. There are no unresolved review threads or non-thread findings, and GitHub reports MERGEABLE/CLEAN. The required-gate helper leaves the separate code-quality ruleset analysis UNVERIFIED because its head-specific result is not exposed through that helper. I have not relabeled it PASS; GitHub's native merge gate remains authoritative and will enforce the rule. This is the narrow parser repair, not permission to replay the consumed recovery attempt or proof of restored database redundancy. A new identity-bound continuation of the existing owned pause remains separately approval-gated. |
Why
Database recovery can stop after the operator confirms its pause because the confirmation uses a different log level than the recovery expects. That leaves the database below its declared readiness.
What
Recognize the audited operator's confirmation while retaining the identity, freshness and replay protections. This does not authorize another recovery attempt or resume an existing pause.
Fixes #4705
Part of #4673