Skip to content

[client] Include original partition name in historical lookup errors - #4032

Merged
luoyuxia merged 1 commit into
apache:mainfrom
zuston:historical-2
Aug 18, 2026
Merged

[client] Include original partition name in historical lookup errors#4032
luoyuxia merged 1 commit into
apache:mainfrom
zuston:historical-2

Conversation

@zuston

@zuston zuston commented Aug 18, 2026

Copy link
Copy Markdown
Member

Purpose

small fix to include original partition name in historical lookup errors

Brief change log

Tests

API and Format

Documentation

@luoyuxia
luoyuxia requested a lite review from Copilot August 18, 2026 12:18

Copilot AI left a comment

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.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

This PR updates lookup error logging to include the original (historical) partition name when present, improving observability when historical lookups fail.

Changes:

  • Add an originalPartitionNameMsg suffix derived from lookup.originalPartitionName().
  • Append that suffix to both retry and non-retry warning logs for lookup errors.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +569 to +572
String originalPartitionNameMsg =
lookup.originalPartitionName() == null
? ""
: " for historical partition " + lookup.originalPartitionName();
@luoyuxia
luoyuxia merged commit c3d56c4 into apache:main Aug 18, 2026
9 checks passed
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