Skip to content

[fix][broker] Change the schema incompatible log from ERROR to WARN level#25483

Merged
Technoboy- merged 2 commits intoapache:masterfrom
Technoboy-:fix-schema-log-level
Apr 8, 2026
Merged

[fix][broker] Change the schema incompatible log from ERROR to WARN level#25483
Technoboy- merged 2 commits intoapache:masterfrom
Technoboy-:fix-schema-log-level

Conversation

@Technoboy-
Copy link
Copy Markdown
Contributor

Motivation

Change the schema incompatible log to a warn level, because the client will receive this exception.

Copy link
Copy Markdown

@utafrali utafrali left a comment

Choose a reason for hiding this comment

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

The two schema-incompatibility-specific log downgrades (lines 461 and 498) are correct and well-motivated. However, the change at line 233 is too broad: the whenComplete on putSchemaIfAbsent catches all failure types, so real server-side errors (storage, ZooKeeper) will now be swallowed at WARN level instead of surfaced as ERROR.

@Technoboy- Technoboy- added this to the 4.3.0 milestone Apr 8, 2026
@Technoboy- Technoboy- merged commit 0b73b3a into apache:master Apr 8, 2026
43 checks passed
coderzc pushed a commit to coderzc/pulsar that referenced this pull request Apr 15, 2026
lhotari pushed a commit that referenced this pull request Apr 15, 2026
lhotari pushed a commit that referenced this pull request Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants