feat(controller-status): allow ctrlstatus through ha_dispatch_gate in all roles incl no-quorum (task 2.2)
This commit is contained in:
parent
a6e03d87ab
commit
e56409cbd4
3 changed files with 89 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
|||
- Observable: the unit tests pass for the primary, standby, and unknown-primary cases, and a no-mutation assertion holds.
|
||||
- _Requirements: 1.1, 1.2, 1.3, 2.1, 2.2, 2.3, 3.1, 3.2, 4.1, 4.2, 5.1, 5.2, 5.3, 6.1, 6.2, 6.3, 6.4_
|
||||
- _Boundary: handle_ctrlstatus_
|
||||
- [ ] 2.2 Allow the status query through the HA dispatch gate in every role
|
||||
- [x] 2.2 Allow the status query through the HA dispatch gate in every role
|
||||
- Add the status opcode to the dispatch-gate allow-lists for primary (including the no-quorum branch), standby, electing, and initializing — so a status read always answers (including when fenced or without quorum), rather than being rejected as standby/not-ready. Scope the change strictly to this read-only opcode.
|
||||
- TDD: an integration test confirms the status request is answered (not rejected) on a standby, an electing node, an initializing node, and a primary without quorum; and a guard test confirms no other opcode's gating changed.
|
||||
- Observable: the gate test shows the status query answered in all four role conditions and unchanged behavior for at least one previously primary-only opcode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue