Skip to content
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

Blevitan dev - Retry Logic #126

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Blevitan dev - Retry Logic #126

wants to merge 18 commits into from

Conversation

blevitan516
Copy link
Collaborator

@blevitan516 blevitan516 commented Sep 23, 2023

Here is a pull request for the retry logic. I haven't done any testing yet and probably won't have a chance to revisit this for a few weeks, but I wanted to get the code in your hands if you have time to review.

Copy link
Collaborator

@caiotomazelli caiotomazelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, but noted some potential problems and nits below.

PTAL and rebase with the latest changes so that I can take a new look please!

dags/retries.py Outdated Show resolved Hide resolved
dags/retries.py Outdated Show resolved Hide resolved
docker-compose.yaml Outdated Show resolved Hide resolved
dags/utils/run_result.py Show resolved Hide resolved
dags/sources/retry.py Outdated Show resolved Hide resolved
dags/sources/retry.py Show resolved Hide resolved
dags/retries.py Outdated Show resolved Hide resolved
dags/utils/dag_utils.py Outdated Show resolved Hide resolved
run_result += target_destination.send_data(data, dry_run)
offset += batch_size
## TESTING ONLY ######################################################
# TODO(blevitan): REMOVE this line before merging BLEVITAN_DEV branch into MAIN.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove when done testing on rebase.

dags/utils/dag_utils.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants