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: 

Conflicts MetaDataChanged

jeremy98
New Contributor III

Hello Community,
I'm encountering a problem with Databricks Delta Tables. Specifically, I have several tables that are accessed by different processes, which include both write and update operations. The main issue arises when these operations overlap, leading to concurrency conflicts during write operations.

To mitigate this, I implemented a basic retry mechanism with up to 20 attempts. While this has reduced the frequency of the issue (it now occurs after several hours instead of more frequently), the problem still persists.

Could you please suggest a clean and effective solution to address concurrency issues in Delta Tables?

Thank you in advance for your help!

1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

You can refer to the best practices mentioned in https://docs.databricks.com/en/optimizations/isolation-level.html 

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