Tsz-wo Sze created RATIS-1904:
---------------------------------
Summary: Refactor RaftServerImpl.submitClientRequestAsync(..)
Key: RATIS-1904
URL: https://issues.apache.org/jira/browse/RATIS-1904
Project: Ratis
Issue Type: Improvement
Components: server
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
The submitClientRequestAsync(..) method in RaftServerImpl handles different
request type such as WRITE, READ, WATCH, etc. There are multiple if-statements
in different levels. Let's refactor it using a switch-case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)