Skip to content

[Backport] Allow MSQ engine only for compaction supervisors (#17033)#17143

Merged
kfaraz merged 1 commit intoapache:31.0.0from
kfaraz:backport_17033
Sep 25, 2024
Merged

[Backport] Allow MSQ engine only for compaction supervisors (#17033)#17143
kfaraz merged 1 commit intoapache:31.0.0from
kfaraz:backport_17033

Conversation

@kfaraz
Copy link
Copy Markdown
Contributor

@kfaraz kfaraz commented Sep 24, 2024

Backport #17033

apache#16768 added the functionality to run compaction as a supervisor on the overlord.
This patch builds on top of that to restrict MSQ engine to compaction in the supervisor-mode only.
With these changes, users can no longer add MSQ engine as part of datasource compaction config,
or as the default cluster-level compaction engine, on the Coordinator. 

The patch also adds an Overlord runtime property `druid.supervisor.compaction.engine=<msq/native>`
to specify the default engine for compaction supervisors.

Since these updates require major changes to existing MSQ compaction integration tests,
this patch disables MSQ-specific compaction integration tests -- they will be taken up in a follow-up PR.

Key changed/added classes in this patch:
* CompactionSupervisor
* CompactionSupervisorSpec
* CoordinatorCompactionConfigsResource
* OverlordCompactionScheduler
@kfaraz kfaraz merged commit d06327a into apache:31.0.0 Sep 25, 2024
@kfaraz kfaraz deleted the backport_17033 branch September 25, 2024 03:59
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
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.

4 participants