etcd-io / raft

Raft library for maintaining a replicated state machine
Apache License 2.0
630 stars 160 forks source link

tracker: split Progress into internal and public #175

Open pav-kv opened 6 months ago

pav-kv commented 6 months ago

Currently, the tracker.Progress struct is a mix of internal fields and methods responsible for replication flow control, and public API - replication status returned by RawNode.Status().

We should factor out the public part of this API, and hide the flow control implementation details (e.g. under internal package).