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

[Bug] Microbatch can cause dbt runs to hang #11306

Open
2 tasks done
Tracked by #11292
QMalcolm opened this issue Feb 13, 2025 · 1 comment
Open
2 tasks done
Tracked by #11292

[Bug] Microbatch can cause dbt runs to hang #11306

QMalcolm opened this issue Feb 13, 2025 · 1 comment
Assignees
Labels
bug Something isn't working microbatch Issues related to the microbatch incremental strategy
Milestone

Comments

@QMalcolm
Copy link
Contributor

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

You can cause microbatch models to hang the dbt runtime. This is most easily reproduced by providing the --fail-fast flag with a microbatch that has an error in it, full reproduction steps can be found https://github.com/dbt-labs/TMP_MICROBATCH_HANGING_REPRO. The hanging has been observed in other manners, but they are not as easily reproduced.

Expected Behavior

Microbatch models shouldn't cause the dbt runtime to hang.

Steps To Reproduce

https://github.com/dbt-labs/TMP_MICROBATCH_HANGING_REPRO

Relevant log output

Environment

- OS: MacOS 15.1.1
- Python: 3.11.9
- dbt: 1.9.2

Which database adapter are you using with dbt?

snowflake

Additional Context

No response

@QMalcolm QMalcolm added bug Something isn't working microbatch Issues related to the microbatch incremental strategy labels Feb 13, 2025
@QMalcolm QMalcolm self-assigned this Feb 13, 2025
@QMalcolm QMalcolm added this to the v1.10 milestone Feb 14, 2025
@john-rotenstein
Copy link

We experienced a similar issue in dbt Cloud when using Microbatching and Slim CI. dbt acknowledged the problem: "the root cause of this issue has been identified and a fix is being implemented"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working microbatch Issues related to the microbatch incremental strategy
Projects
None yet
Development

No branches or pull requests

2 participants