Skip to content

fix: limit bulk indexing error log to a single summary instead of per-item logging#72

Merged
weited merged 1 commit intomainfrom
bugfix/8202-es-bulk-indexing-error-log-floods-output
Mar 12, 2026
Merged

fix: limit bulk indexing error log to a single summary instead of per-item logging#72
weited merged 1 commit intomainfrom
bugfix/8202-es-bulk-indexing-error-log-floods-output

Conversation

@weited
Copy link
Copy Markdown
Collaborator

@weited weited commented Mar 12, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 12, 2026 06:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates bulk indexing error logging so failures are reported as a single summarized log entry (with a small set of sample errors) rather than logging an error per failed bulk item, reducing log noise during partial bulk failures.

Changes:

  • Replaces per-item error logging with aggregated errorCount plus up to 5 sampled error messages.
  • Adds a single summary log.error(...) containing counts and sample error details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@weited weited merged commit 460a3f5 into main Mar 12, 2026
5 checks passed
@weited weited deleted the bugfix/8202-es-bulk-indexing-error-log-floods-output branch March 12, 2026 06:58
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