ei-grad commented on code in PR #23720:
URL: https://github.com/apache/airflow/pull/23720#discussion_r1006973733
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -464,7 +464,9 @@ def clear_not_launched_queued_tasks(self, session=None) ->
None:
if not self.kube_client:
raise AirflowException(NOT_STARTED_MESSAGE)
- query = session.query(TaskInstance).filter(TaskInstance.state ==
State.QUEUED)
+ query = session.query(TaskInstance).filter(
+ TaskInstance.state == State.QUEUED, TaskInstance.queued_by_job_id
== self.job_id
+ )
Review Comment:
Would it be possible to have more than one backfill running then?
--
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]