Skip to content

feat: Config for MM / Indexer to always start enabled.#19373

Merged
gianm merged 2 commits intoapache:masterfrom
gianm:mm-dont-remember-disabled
Apr 24, 2026
Merged

feat: Config for MM / Indexer to always start enabled.#19373
gianm merged 2 commits intoapache:masterfrom
gianm:mm-dont-remember-disabled

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Apr 24, 2026

PR #19368 updated the enabled/disabled state of an MM or Indexer to persist across restarts. In some cases, such as disabling a server before doing an in-place restart, it is more convenient to automatically re-enable on restart.

This patch adds a config parameter to restore the old behavior: druid.worker.startAlwaysEnabled.

Release note: MiddleManagers and Indexers now persist their enabled or disabled state across restarts. If you prefer the old behavior, where the server re-enables itself after a restart, set druid.worker.startAlwaysEnabled = true.

PR apache#19368 updated the enabled/disabled state of an MM or Indexer to
persist across restarts. In some cases, such as disabling a server
before doing an in-place restart, it is more convenient to
automatically re-enable on restart.

This patch adds a config parameter to restore the old behavior:
druid.worker.startAlwaysEnabled.
Copy link
Copy Markdown
Contributor

@capistrant capistrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pending the checkstyle fixup, this looks good

@gianm gianm merged commit 55b41d5 into apache:master Apr 24, 2026
63 of 64 checks passed
@gianm gianm deleted the mm-dont-remember-disabled branch April 24, 2026 23:04
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.

2 participants