feat(libxce-failover): 4-action status classifier with attempt-aware DUP-replay rule (task 2.1)
This commit is contained in:
parent
d11c6e1d89
commit
fa2ac05036
5 changed files with 222 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
- _Requirements: 2.5, 4.1, 4.2, 4.3, 4.4, 4.5, 5.2, 8.3, 8.4_
|
||||
|
||||
- [ ] 2. Core: status classification, endpoint rotation, reply-path capture
|
||||
- [ ] 2.1 Implement status classification
|
||||
- [x] 2.1 Implement status classification
|
||||
- Map each controller status and transport result to one of four actions: success, retry-now (redirect/standby/transport — rotate without backoff), retry-after-backoff (no-primary/not-ready), terminal
|
||||
- Never classify redirect, standby, no-primary, or not-ready as success
|
||||
- Treat a duplicate-job/exists status on a re-sent write as success (idempotent replay); on a first attempt treat it as a genuine duplicate surfaced to the caller
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue