Skip to content

RATIS-2743. Move read request handling from RaftServerImpl to a new ReadRequestHandler - #1638

Merged
amaliujia merged 4 commits into
apache:masterfrom
amaliujia:split-read-request-handler
Oct 16, 2026
Merged

amaliujia merged 4 commits into
apache:masterfrom
amaliujia:split-read-request-handler

Conversation

@amaliujia

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Move read request handling from RaftServerImpl to a new ReadRequestHandler

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2743

How was this patch tested?

Existing tests

@amaliujia
amaliujia force-pushed the split-read-request-handler branch from 5061262 to 916a833 Compare October 14, 2026 04:44
@amaliujia
amaliujia force-pushed the split-read-request-handler branch from cc5f462 to 923b9ed Compare October 14, 2026 04:53

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@amaliujia , the change looks good.

Let's also remove the checkstyle suppression

+++ b/dev-support/checkstyle.xml
@@ -60,10 +60,6 @@
     </module>
 
     <module name="SuppressWarningsFilter"/>
-    <module name="SuppressionSingleFilter">
-        <property name="checks" value="FileLength"/>
-        <property name="files" value="[/\\]ratis-server[/\\]src[/\\]main[/\\]java[/\\]org[/\\]apache[/\\]ratis[/\\]server[/\\]impl[/\\]RaftServerImpl\.java"/>
-    </module>

@amaliujia

Copy link
Copy Markdown
Contributor Author

@amaliujia , the change looks good.

Let's also remove the checkstyle suppression

+++ b/dev-support/checkstyle.xml
@@ -60,10 +60,6 @@
     </module>
 
     <module name="SuppressWarningsFilter"/>
-    <module name="SuppressionSingleFilter">
-        <property name="checks" value="FileLength"/>
-        <property name="files" value="[/\\]ratis-server[/\\]src[/\\]main[/\\]java[/\\]org[/\\]apache[/\\]ratis[/\\]server[/\\]impl[/\\]RaftServerImpl\.java"/>
-    </module>

Yes, it is the time now. Done.

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 the change looks good

@amaliujia
amaliujia merged commit 20d916b into apache:master Oct 16, 2026
16 checks passed
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