Skip to content

Follower Log Await

FOLLOWER_LOG_AWAIT - wait for the leader to connect to the Log Subscription and get the Clustered Service to start listening to it

On Entry

Enters from FOLLOWER_LOG_INIT after creating the Log Subscription and adding the Log endpoint to it as a destination.

Description

Waits for the leader to connect to the Log Subscription. When it does, it asks its ConsensusModuleAgent to join the Log as follower. This was also done in FOLLOWER_CATCHUP_AWAIT - see there for details.

Once it has joined the Log, it updates its recording.log file and moves to FOLLOWER_READY.

On Exit

The Log Subscription is now connected to the leader and the Clustered Service is listening to it. It moves to FOLLOWER_READY.