Taragolis commented on code in PR #39745:
URL: https://github.com/apache/airflow/pull/39745#discussion_r1611673291


##########
airflow/models/taskinstance.py:
##########
@@ -3476,8 +3476,13 @@ def _schedule_downstream_tasks(
                     run_id=ti.run_id,
                 ),
                 session=session,
-                nowait=True,
-            ).one()
+                skip_locked=True,
+            ).one_or_none()
+
+            if not dag_run:
+                cls.logger().info("Skip locked rows, rollback")

Review Comment:
   I think better slightly reduce severity level. 
   
   ```suggestion
                   cls.logger().debug("Skip locked rows, rollback")
   ```
   
   No need to spam into the log for regular users



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