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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group