Skip to content

Conversation

@dheerajturaga
Copy link
Member

Prevent launching a new Celery worker if another worker with the same
hostname is already running. The check queries active workers via the
Celery inspect API and raises an error if a worker with the specified
hostname already exists.

This prevents confusion and potential conflicts from having multiple
workers with identical hostnames

  Prevent launching a new Celery worker if another worker with the same
  hostname is already running. The check queries active workers via the
  Celery inspect API and raises an error if a worker with the specified
  hostname already exists.

  This prevents confusion and potential conflicts from having multiple
  workers with identical hostnames
@dheerajturaga
Copy link
Member Author

cc: @jscheffl this PR is to be consistent with #58586

@jscheffl jscheffl merged commit 16829d7 into apache:main Nov 23, 2025
79 checks passed
@potiuk
Copy link
Member

potiuk commented Nov 23, 2025

Nice!

Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
* Add duplicate hostname check for Celery workers

  Prevent launching a new Celery worker if another worker with the same
  hostname is already running. The check queries active workers via the
  Celery inspect API and raises an error if a worker with the specified
  hostname already exists.

  This prevents confusion and potential conflicts from having multiple
  workers with identical hostnames

* Fix tests
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
* Add duplicate hostname check for Celery workers

  Prevent launching a new Celery worker if another worker with the same
  hostname is already running. The check queries active workers via the
  Celery inspect API and raises an error if a worker with the specified
  hostname already exists.

  This prevents confusion and potential conflicts from having multiple
  workers with identical hostnames

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants