cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Deployed DABs job via Gitlab CICD. It is creating duplicate jobs.

ahen
New Contributor

We had error in DABs deploy and then subsequent retries resulted in a locked state
And as suggested in the logs, we use --force-lock option and the deploy succeeded
However, it created duplicate jobs for all assets in the bundle instead of updating the ones that are changed

1 REPLY 1

Satyadeepak
Databricks Employee
Databricks Employee

@ahen When you used the --force-lock option during the Databricks Asset Bundle (DAB) deployment, it likely bypassed certain checks that would normally prevent duplicate resource creation. This option is used to force a deployment even when a lock is in place, which can lead to unintended consequences like duplicate jobs if the deployment logic does not correctly handle existing resources.

Use the bundle validate command to check the configuration and understand what changes will occur during deployment.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now