Raft在Curve存储中的工程实践
Closure* done); void remove_peer(const PeerId& peer, Closure* done); void change_peers(const Configuration& new_peers, Closure* done); StateMachine void on_apply(::raft::Iterator& iter); void on_s0 码力 | 29 页 | 2.20 MB | 5 月前3CurveFS Copyset与FS对应关系
crossZone , specifiedZone ) (hosts chooseTargetMetaHosts string uint64 string int bool string [] , peers []proto.Peer, err ) string error metanode是否能够创建copyset,由这个函数判断。有这些判断条件: 1、metaNode的存活状态 2、metaNode的内存使用情况0 码力 | 19 页 | 383.29 KB | 5 月前3
共 2 条
- 1