Refactor: Automate Initialization of Leader Progress and Replication
This commit enhances the initialization process of a Leader instance
by automating the setup of progress information and replication streams.
Previously, these tasks were manually performed by the caller after the
leader's creation, which could lead to inconsistencies or additional
complexity.
Changelog
Refactor: Automate Initialization of Leader Progress and Replication
This commit enhances the initialization process of a
Leader
instance by automating the setup of progress information and replication streams. Previously, these tasks were manually performed by the caller after the leader's creation, which could lead to inconsistencies or additional complexity.This change is