Details
Description
RaftServerImpl#appendEntriesAsync is still using the common pool here:
return JavaUtils.allOf(futures).whenCompleteAsync(
(r, t) -> followerState.ifPresent(fs -> fs.updateLastRpcTime(FollowerState.UpdateType.APPEND_COMPLETE))
I think it should be executed directly, since it's already executing on serverExecutor.
Attachments
Issue Links
- fixes
-
RATIS-530 Avoid using common fork join pool
- Resolved
- is related to
-
RATIS-1503 Avoid using ForkJoinPool.commonPool() in RaftServerProxy/Impl
- Resolved
- relates to
-
RATIS-1792 Replace parallelStream usage in PeerProxyMap
- Resolved
- links to