Noahnut commented on issue #53905:
URL: https://github.com/apache/airflow/issues/53905#issuecomment-3236212336

   Hi, I have the same problem with Airflow 3.0.4 running on K8s.
   I use a Dynamic DAG to run the tasks, and there is only one Airflow 
scheduler running on the cluster.
   I suspect that the retry logic policy may be causing this issue, because my 
scheduler sometimes restarts.
   
   ```
   AirflowRuntimeError: API_SERVER_ERROR: {'status_code': 409, 'message': 
'Server returned error', 'detail': {'detail': {'reason': 
   'Unique constraint violation', 'statement': 'INSERT INTO 
rendered_task_instance_fields (dag_id, task_id, run_id, map_index, 
   rendered_fields, k8s_pod_yaml) VALUES (%s, %s, %s, %s, %s, %s)', 
'orig_error': '(1062, "Duplicate entry \'xxxx__2025-08-
   28T06\' for key \'rendered_task_instance_fields.PRIMARY\'")', 'message': 
'Serious error when handling your request. Check 
   logs for more details - you will find it in api server when you look for ID 
MhGcuhac'}}}
   ```
   
   If you need more information or fix this problem, please tell me 
   
   Thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to