Skip to content

Fix stale log messages, missing log args, and inconsistent metric scopes#1871

Merged
rzo1 merged 1 commit intomainfrom
fix/opensearch-minor-bugs
Apr 7, 2026
Merged

Fix stale log messages, missing log args, and inconsistent metric scopes#1871
rzo1 merged 1 commit intomainfrom
fix/opensearch-minor-bugs

Conversation

@jnioche
Copy link
Copy Markdown
Contributor

@jnioche jnioche commented Apr 6, 2026

Summary

  • Fix "ElasticSearch" -> "OpenSearch" in error log messages in AbstractSpout and StatusMetricsBolt
  • Fix LOG.debug in AggregationSpout.onResponse that had 5 arguments for 4 placeholders (alreadyprocessed was silently dropped) — added missing placeholder
  • Fix LOG.trace in AggregationSpout.populateBuffer that had {} placeholder but no argument — added logIdprefix
  • Rename metric scopes ES_queries/ES_docs to OpenSearch_queries/OpenSearch_docs in AggregationSpout for consistency with HybridSpout

Test plan

  • mvn compile -pl external/opensearch -am — clean compile
  • mvn checkstyle:check -pl external/opensearch — 0 violations

🤖 Generated with Claude Code

- Fix "ElasticSearch" -> "OpenSearch" in error messages in AbstractSpout
  and StatusMetricsBolt
- Fix LOG.debug in AggregationSpout.onResponse with 5 args for 4
  placeholders (alreadyprocessed was silently dropped)
- Fix LOG.trace missing logIdprefix argument in AggregationSpout
- Rename metric scopes "ES_queries"/"ES_docs" to
  "OpenSearch_queries"/"OpenSearch_docs" for consistency with HybridSpout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rzo1 rzo1 merged commit 47d6bab into main Apr 7, 2026
2 checks passed
@rzo1 rzo1 added this to the 3.6.0 milestone Apr 7, 2026
@jnioche jnioche deleted the fix/opensearch-minor-bugs branch April 7, 2026 17:41
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