Meltano Version
2.8.0
Python Version
3.8
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Linux Ubuntu
Description
If we run meltano run tap-something some-mapper target-something and that pipeline is already running, meltano (correctly!) throws an "already running" error and exits. However, if instead we
- run
meltano run tap-something some-mapper target-something dbt-postgres:run,
- wait for the tap+mapper+target block to finish and the dbt-postgres portion to start, and then
- run
meltano run tap-something some-mapper target-something dbt-postgres:run again
meltano will run the entire pipeline again, ultimately resulting in multiple copies of the same dbt project running at once. :(
If it matters we execute meltano via cron. The tap/mapper/target portion usually only takes a few minutes, but dbt often takes 20+ minutes to run. We had been planning to schedule the job for every 15 minutes and let meltano block concurrent runs when dbt was running long but unfortunately this prevents that.
Code
No response
Meltano Version
2.8.0
Python Version
3.8
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Linux Ubuntu
Description
If we run
meltano run tap-something some-mapper target-somethingand that pipeline is already running, meltano (correctly!) throws an "already running" error and exits. However, if instead wemeltano run tap-something some-mapper target-something dbt-postgres:run,meltano run tap-something some-mapper target-something dbt-postgres:runagainmeltano will run the entire pipeline again, ultimately resulting in multiple copies of the same dbt project running at once. :(
If it matters we execute meltano via cron. The tap/mapper/target portion usually only takes a few minutes, but dbt often takes 20+ minutes to run. We had been planning to schedule the job for every 15 minutes and let meltano block concurrent runs when dbt was running long but unfortunately this prevents that.
Code
No response