-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RetryHandlerSkeleton #152
base: main
Are you sure you want to change the base?
RetryHandlerSkeleton #152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a high level, you can pass an optional argument to the task using which task can send heartbeats or progress events. Once you receive the event, you can trigger custom logic that determines whether to retry or cancel and end the task.
Each error class can encapsulate the error code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a high level, it is still not clear how we can make use of these classes to fulfill our use-cases.
deltacat/utils/ray_utils/retry_handler/aws_security_token_service_exception.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/ray_remote_tasks_batch_scaling_params.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/retry_strategy_config.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/task_exception_retry_config.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, skeleton wise, still a bit of clarity in the README.md is required regarding how they can actually accomplish their use-cases.
deltacat/utils/ray_utils/retry_handler/failures/aws_security_token_service_exception.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/ray_task_submission_handler.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/ray_task_submission_handler.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/ray_task_submission_handler.py
Outdated
Show resolved
Hide resolved
deltacat/utils/ray_utils/retry_handler/ray_task_submission_handler.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from skeleton standpoint, Kudos! However there is some more work required from the implementations point of view which we can go over in the final implementation PR. Please also address minor comments on the latest revision.
Implementation not fully complete, outline for classes and methods to implement for Retry Handling based on given exception.