GrpcLogAppender is used when GRPC is configured in raft.rpc.type; see GrpcFactory.
For the other RPCs (e.g. NETTY), it will use LogAppenderDefault; see ServerFactory. > Due to frequent member changes and carrying a large number of data files when using it, the recipient sometimes encounters md5 check mismatches, ... Why were there frequent member changes? Please feel free to file a JIRA if it looks like a bug. Tsz-Wo On Fri, Aug 9, 2024 at 12:28 AM ka yuu <[email protected]> wrote: > Is there any difference between GrpcLogAppender and LogAppenderDefault? My > IDEA ide prompts that LogAppenderDefault is not used. Due to frequent > member changes and carrying a large number of data files when using it, the > recipient sometimes encounters md5 check mismatches, but I did not find any > corresponding snapshot requests being resent > > Tsz Wo Sze <[email protected]> 于2024年8月9日周五 01:46写道: > > > When an install snapshot has failed (for any reason), it will retry; see > > > > > https://github.com/apache/ratis/blob/4ba463789df7876837c728ce6477fd18b787fed9/ratis-server/src/main/java/org/apache/ratis/server/leader/LogAppenderDefault.java#L165 > > > > Tsz-Wo > > >
