jiacheliu3 commented on code in PR #733:
URL: https://github.com/apache/ratis/pull/733#discussion_r971495140
##########
ratis-server/src/main/java/org/apache/ratis/server/leader/LogAppenderDaemon.java:
##########
@@ -44,11 +46,17 @@ class LogAppenderDaemon {
private final LogAppender logAppender;
- LogAppenderDaemon(LogAppender logAppender) {
+ LogAppenderDaemon(LogAppender logAppender, RaftServer.Division server) {
Review Comment:
I have to use `RaftServer.Division` here and cast to `RaftServerImpl`
internally because the `server` ref is passed in from
`GrpcFactory/ServerFactory` all the way down and `ServerFactory` cannot import
`RaftServerImpl`(circular dependency).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]