Skip to content

HDDS-15301. Malformed PutBlock request can mark container UNHEALTHY#10295

Open
peterxcli wants to merge 2 commits into
apache:masterfrom
peterxcli:dont-make-container-unhealthy-with-malform-request
Open

HDDS-15301. Malformed PutBlock request can mark container UNHEALTHY#10295
peterxcli wants to merge 2 commits into
apache:masterfrom
peterxcli:dont-make-container-unhealthy-with-malform-request

Conversation

@peterxcli
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

A malformed client PutBlock request can cause the datanode to mark the target container UNHEALTHY. The request should be rejected as a client-side malformed request, but currently it is mapped to IO_EXCEPTION, which HddsDispatcher treats as a container write failure.

This means a bad/misbehaving client can poison the active container and close the pipeline.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15301

How was this patch tested?

Unit test

Signed-off-by: peterxcli <peterxcli@gmail.com>
@peterxcli peterxcli requested review from adoroszlai and szetszwo May 17, 2026 11:04
Copy link
Copy Markdown
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: peterxcli <peterxcli@gmail.com>
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