-
Story
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
5
-
False
-
-
False
-
-
In order to prevent billable usages from carrying over into the next month, we need to put a limit on the processRetry query to only resubmit for the given month.
We also need a mechanism for marking the out of month retryable billable-usages.
Done:
- When processRetries is called, billable usage for the current month is resent
- 72 hour limit on retry processing after which the usage is considered status=failed, error_code=out_of_window
- processRetries will mark stale records as failed with a new error code(past-month-boundary)
- When usage incurred between the 10th of the previous month has not been able to be sent and and a subscription comes in on the 1st of the next month (we are within the 3 day limit) only the usage from the last 3 days of the previous month
- When usage incurred since the 15th of the previous month has not been able to be sent and and a subscription comes in on the 4th of the next month (we are outside of the 3 day limit) usage for the 15th of the previous month to the end of the previous month is discarded and we only send the usage from the 1st of the current month.
- IQE tests are validating both of these scenarios
- is related to
-
SWATCH-3079 Component Test to Verify Retry Current Month Boundary
- New