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).
Currently, the
tracker.Progressstruct is a mix of internal fields and methods responsible for replication flow control, and public API - replication status returned byRawNode.Status().We should factor out the public part of this API, and hide the flow control implementation details (e.g. under
internalpackage).