Skip to content

Add standalone compactors flag and service charts#171

Merged
nadav-govari merged 2 commits into
mainfrom
nadav/compactors
Jul 8, 2026
Merged

Add standalone compactors flag and service charts#171
nadav-govari merged 2 commits into
mainfrom
nadav/compactors

Conversation

@nadav-govari

Copy link
Copy Markdown
Contributor

This change is alongside quickwit-oss/quickwit#6461. It adds the enable_standalone_compactor flag. When enabled, it affects three Quickwit services:

  • The janitor, which then starts the merge planner service
  • Indexers, which don't spawn merge pipelines as a result
  • Compactors, which now spawn

As far as the helm chart goes, when false this change is a no-op. When true, it adds the compactor service and defines it similarly to other deployments in this chart. It also injects the QW_ENABLE_STANDALONE_COMPACTORS env var to all services as true.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93e3a777d0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread charts/quickwit/templates/compactor-deployment.yaml

@shuheiktgw shuheiktgw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I left one comment but basically LGTM!

# happen on the indexers exactly as before. Because the same value drives both
# the env var and whether the workload is rendered, the compactor pods exist if
# and only if this flag is true.
enableStandaloneCompactors: false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I believe this should be compactor.enabled, to follow the convention used by the other services.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The reason for this naming is that it doesn't gate the service - it gates an entire set of functionality, that changes how indexers, the janitor, and the new compactor service work. It gets translated into an env var. From there, we have the actual compactor service itself, which should follow the convention you mentioned.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I see the reasoning. I personally still think compactor.enabled is the better public API because it is more consistent with the rest of the chart. IIUC, since enabling the compactor necessarily enables the standalone compactor, having compactor.enabled also inject QW_ENABLE_STANDALONE_COMPACTORS into the other components feels reasonable to me, as long as we document that clearly in values.yaml 🙂

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a55923a08c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread charts/quickwit/templates/compactor-deployment.yaml Outdated
@nadav-govari nadav-govari merged commit 407e8ce into main Jul 8, 2026
3 checks passed
@nadav-govari nadav-govari deleted the nadav/compactors branch July 8, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants