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:ย 

Why does disabling Photon fix my ConcurrentDeleteDeleteException in Databricks?

bharathelsker
New Contributor

Iโ€™m running a Databricks 15.4 LTS job with Photon acceleration enabled.

I have a wrapper notebook that uses ThreadPoolExecutor to trigger multiple child notebooks in parallel.
Each thread calls a function that runs a child notebook and updates an audit table (Delta format) with the run status.

This job runs once daily and has worked fine for the past 4 months. However, since last week, the UPDATE statement to the audit table has started throwing a ConcurrentDeleteDeleteException.

I tried several fixes without success, but disabling Photon acceleration seems to solve the problem.

Given that Photon was enabled and working fine last month, can anyone explain:

  1. Why disabling Photon would fix this issue?

  2. Whether there have been any recent changes in Databricks or Delta that could cause this?

1 ACCEPTED SOLUTION

Accepted Solutions

Sidhant07
Databricks Employee
Databricks Employee

Hi @bharathelsker ,

ConcurrentDeleteDeleteException

This exception occurs when a concurrent operation deleted a file that your operation also deletes. This could be caused by two concurrent compaction operations rewriting the same files.

To further investigate why disabling photon fixed the issue, we may need additional details like notebook code and logs and recommend opening a ticket with us.

https://kb.databricks.com/delta-live-tables/dlt-pipeline-failing-with-concurrentdeletedeleteexceptio...

View solution in original post

1 REPLY 1

Sidhant07
Databricks Employee
Databricks Employee

Hi @bharathelsker ,

ConcurrentDeleteDeleteException

This exception occurs when a concurrent operation deleted a file that your operation also deletes. This could be caused by two concurrent compaction operations rewriting the same files.

To further investigate why disabling photon fixed the issue, we may need additional details like notebook code and logs and recommend opening a ticket with us.

https://kb.databricks.com/delta-live-tables/dlt-pipeline-failing-with-concurrentdeletedeleteexceptio...

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