Skip to content

HDDS-14425. Implement Ratis follower read exception handling#9811

Open
ivandika3 wants to merge 1 commit intoapache:masterfrom
ivandika3:HDDS-14425
Open

HDDS-14425. Implement Ratis follower read exception handling#9811
ivandika3 wants to merge 1 commit intoapache:masterfrom
ivandika3:HDDS-14425

Conversation

@ivandika3
Copy link
Contributor

What changes were proposed in this pull request?

It might be possible for Ratis to throw ReadIndexException if the follower is not able to get the ReadIndex one way or another (e.g. majority OMs are down). Additionally ReadException will be thrown for any pending requests. However, currently this is not handled by both the OM server and client.

OM need to throw these exceptions to prevent NPE similar to HDDS-10918. Client can parse these exceptions and log it.

What is the link to the Apache JIRA

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

How was this patch tested?

Unit test.

Clean CI: https://github.com/ivandika3/ozone/actions/runs/22333622434

@ivandika3 ivandika3 self-assigned this Feb 24, 2026
@ivandika3 ivandika3 requested a review from szetszwo February 24, 2026 04:07
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.

1 participant