原书出处
etcd技术内幕
04 网络层 4.2.1 rafthttp.Transporter接口
比较简单,代码就不在贴出来了,感兴趣的读者请参考源码进行学习。
Transport.Send()方法负责发送指定的raftpb.Message消息,其中首先尝试使用目标节点对应的Peer实例发送消息,如果没有找到对应的Peer实例,则尝试使用对应的remote实例发送消息。Transport.Send()方法的具
体实现如下: Transport.SendSnapshot()方
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/etcd技术内幕/_epub-src/OEBPS/text00007.html
EPUB SHA-256:2552f7d456fedbdb9fa186304b0e4c8c6e0d35d78bb5afaae8cd00c0ac4cc63d