deltacat icon indicating copy to clipboard operation
deltacat copied to clipboard

Implementation branch

Open ekaschaw opened this issue 2 years ago • 1 comments

This PR handles the implementation of a few aspects of the RetryHandlerSkeleton. Specifically, Additive Increase Multiplicative Decrease Batch scaling along with the basic case of executing retries on a detected Retry-able Exception.

There are two test suites in this PR:

  1. AIMD unit testing: I created simple test cases that ensure when a task is completed successfully or fails, the batch size is reflected correctly and is configurable to the client specifications.
  2. Retry Handling and Exception Wrapping: The test simulates a list of 10 Tasks of which 3 throw a retryable exception that the handler recognizes and enqueues for retry. The result is the list of results for the successful tasks and a second list of task_IDs for tasks that either 1. Exceeded the retry cap (Default cap = 3 retries) or 2. Non-retryable in nature.

ekaschaw avatar Aug 04 '23 22:08 ekaschaw

The tests are failing. Please check.

raghumdani avatar Aug 15 '23 23:08 raghumdani