ashb commented on a change in pull request #7473: [AIRFLOW-6852] Force
reschedule mode for sensors when running on SequentialExecutor
URL: https://github.com/apache/airflow/pull/7473#discussion_r383259139
##########
File path: airflow/models/taskinstance.py
##########
@@ -909,7 +909,7 @@ def _run_raw_task(
# with single process executor, thus we change the mode
to`reschedule`
# to allow parallel task being scheduled and executed
if isinstance(task_copy, BaseSensorOperator) and \
- conf.get('core', 'executor') == "DebugExecutor":
+ conf.get('core', 'executor') in ["DebugExecutor",
"SequentialExecutor"]:
self.log.warning("DebugExecutor changes sensor mode to
'reschedule'.")
Review comment:
This log needs updating anyway :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services