Skip to content

Fix: Fetch snapshot records on demand when generating Airflow dags#2032

Merged
izeigerman merged 2 commits intomainfrom
fix-fetch-snapshots-on-demand-when-generating-airflow-dags
Jan 27, 2024
Merged

Fix: Fetch snapshot records on demand when generating Airflow dags#2032
izeigerman merged 2 commits intomainfrom
fix-fetch-snapshots-on-demand-when-generating-airflow-dags

Conversation

@izeigerman
Copy link
Contributor

Currently we fetch all snapshots on the scheduler side which may lead to high memory consumption there. Additionally we had passed all these snapshots into underlying DAG tasks potentially causing high memory consumption at the execution time which could lead to tasks being SIGKILLed.

@izeigerman izeigerman requested a review from a team January 26, 2024 23:37
@izeigerman izeigerman force-pushed the fix-fetch-snapshots-on-demand-when-generating-airflow-dags branch from 7949c51 to 6c25bfc Compare January 26, 2024 23:44
Copy link
Contributor

Choose a reason for hiding this comment

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

so this is the main change right? you got rid of this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

exactly

@izeigerman izeigerman force-pushed the fix-fetch-snapshots-on-demand-when-generating-airflow-dags branch from 6c25bfc to 8036d9b Compare January 26, 2024 23:53
@izeigerman izeigerman force-pushed the fix-fetch-snapshots-on-demand-when-generating-airflow-dags branch from 28d7795 to 4a987e7 Compare January 27, 2024 00:30
@izeigerman izeigerman merged commit cc38647 into main Jan 27, 2024
@izeigerman izeigerman deleted the fix-fetch-snapshots-on-demand-when-generating-airflow-dags branch January 27, 2024 00:39
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