SMSD retry backoff on full dispatch failure
When all dispatchers fail to dispatch an SMS, smsd will retry at the next queue read (which implies a 30 second delay, using default values). A total dispatch failure is a CRITICAL level error, and the loghandler will notify the NAV admin via e-mail.
A long-lasting error state will result in a lot of e-mail spam for the administrator. This should be mitigated by introducing a backoff mechanism for retries. For each completely failed dispatch attempt, the retry delay should increase by a factor X. On successful dispatch, the delay should be reduced to its original setting.
Blueprint information
- Status:
- Complete
- Approver:
- Morten Brekkevold
- Priority:
- High
- Drafter:
- Morten Brekkevold
- Direction:
- Approved
- Assignee:
- Jørgen Abrahamsen
- Definition:
- Approved
- Series goal:
- Accepted for 3.6
- Implementation:
- Implemented
- Milestone target:
- 3.6.0b1
- Started by
- Jørgen Abrahamsen
- Completed by
- Morten Brekkevold
Related branches
Related bugs
Sprints
Whiteboard
Feature implemented according to specification. Needs a code review and some more testing.
Code has been reviewed/tested once; the code was reworked based on feedback from that test. The features are currently in the 3.6.0b4 release.