Skip to content

split search failures in outcome metrics - #6662

Merged
PSeitz-dd merged 2 commits into
mainfrom
per_split_metric
Aug 6, 2026
Merged

split search failures in outcome metrics#6662
PSeitz-dd merged 2 commits into
mainfrom
per_split_metric

Conversation

@PSeitz

@PSeitz PSeitz commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Record storage, warmup, Tantivy execution failures, and panics as category="error" in quickwit_search_split_search_outcome metric

@PSeitz
PSeitz requested a review from a team as a code owner August 6, 2026 06:27

@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: 4cd8f3e555

ℹ️ 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".

)
.await?;
.await
.inspect_err(|_| leaf_search_state_guard.set_state(SplitSearchState::Error))?;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Count reader initialization failures as errors

When split reader construction fails, the immediately following reader_builder().try_into()? still returns while the guard state is Start, so corrupt/unreadable split metadata at reader reload time is reported as cancel_before_warmup instead of the new error category. Please wrap this setup ? with the same error state transition (or mark the whole infrastructure setup block) so these operational failures do not continue to look like cancellations.

Useful? React with 👍 / 👎.

Classify storage, warmup, Tantivy execution failures, and panics as
category="error" rather than cancellation phases.
Comment thread docs/reference/metrics.md
CpuQueue,
Cpu,
// Reserved for infrastructure and search-execution failures, not invalid user requests.
Error,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we add an additional error tag to better categorise the error on the emitted metric?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I added a tag for some categories

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

forgot to push: #6663

@PSeitz-dd
PSeitz-dd enabled auto-merge (squash) August 6, 2026 10:12
@PSeitz-dd
PSeitz-dd merged commit e3bed43 into main Aug 6, 2026
9 checks passed
@PSeitz-dd
PSeitz-dd deleted the per_split_metric branch August 6, 2026 10:23
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.

3 participants