Skip to content

ZOOKEEPER-5032: StatsTrack(byte[]) throws NullPointerException when quota node data is null#2364

Open
julianchandras wants to merge 3 commits into
apache:masterfrom
julianchandras:ZOOKEEPER-5032
Open

ZOOKEEPER-5032: StatsTrack(byte[]) throws NullPointerException when quota node data is null#2364
julianchandras wants to merge 3 commits into
apache:masterfrom
julianchandras:ZOOKEEPER-5032

Conversation

@julianchandras

Copy link
Copy Markdown

ZOOKEEPER-5032

The fix is to delegate to the existing StatsTrack(String) constructor if the byte[] value is null.

@maoling

maoling commented Jun 26, 2026

Copy link
Copy Markdown
Member

The quota path is managed internally by ZooKeeper and should never be null.

Users are not expected to modify it manually. If the quota path is manually changed to null or an invalid format, it may lead to unexpected behavior or other unintended issues.

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