wjddn279 commented on PR #61646:
URL: https://github.com/apache/airflow/pull/61646#issuecomment-3868778530

   > This is WRONG. jobs are only purged on completion. Not while being in the 
queue. So should not be a problem. I would doubt that different configurations 
per team are needed.
   
   I see my message wasn't conveyed as I intended.
   
   > This could lead to one team's executor incorrectly purging another team's 
jobs or marking another team's workers as dead
   
   This shouldn't happen. The AI mistranslated it.🥲 Sorry for that.
   
   However, the cleanup process in edge_executor's multi-instance environment 
runs on all instances and performs checks on all rows (regardless of team). 
This can cause side effects because it runs at unintended intervals compared to 
when there's only one instance. I thought it would be better if it only ran for 
the jobs managed by that particular instance.
   
   Therefore, we needed a minimum unit to distinguish teams in that table 
(edge_job), and the best option I thought might be possible (without changing 
the table) was to distinguish by queue. That's why I left a separate question 
asking if that was actually feasible. I also tried implementing it in that 
direction for now. Of course, I'm open to changing the approach.


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