Skip to content

HDDS-15355. Support StringCodec without fallback.#10349

Merged
szetszwo merged 2 commits into
apache:masterfrom
szetszwo:HDDS-15355
May 26, 2026
Merged

HDDS-15355. Support StringCodec without fallback.#10349
szetszwo merged 2 commits into
apache:masterfrom
szetszwo:HDDS-15355

Conversation

@szetszwo
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

The original StringCodec use StringUtils to decode. Therefore, the new StringCodec supports falling back to StringUtils for compatibility.

When we use StringCodec in a new Codec (e.g. OmMultipartPartKeyCodec), it should not support fallback anymore.

What is the link to the Apache JIRA

HDDS-15355

How was this patch tested?

Added a new test (copied the malformed UTF8 from #10347).

@szetszwo szetszwo requested a review from Russole May 23, 2026 18:18
@szetszwo szetszwo marked this pull request as ready for review May 24, 2026 23:44
Copy link
Copy Markdown
Contributor

@Russole Russole left a comment

Choose a reason for hiding this comment

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

Thanks @szetszwo for working on this. LGTM!

@szetszwo szetszwo merged commit 7738b5b into apache:master May 26, 2026
104 of 106 checks passed
@szetszwo
Copy link
Copy Markdown
Contributor Author

@Russole , thanks for reviewing this!

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