trying to isolate code metrics code by fulmicoton-dd · Pull Request #6285 · quickwit-oss/quickwit

Choose a reason for hiding this comment

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

P1 Badge Reject metrics indexes when metrics feature is off

In non-metrics builds this branch unconditionally calls spawn_log_pipeline, so a metrics index task is silently started on the logs pipeline instead of being rejected. In practice that means Arrow IPC metric payloads go through DocProcessor, get counted as invalid docs, and checkpoints can still advance, which drops data rather than surfacing an unsupported-feature error. Please add an explicit metrics-index guard in this path and fail pipeline creation when metrics support is disabled.

Useful? React with 👍 / 👎.