
The client assigns the value of A as 1 through the leader (write operation).
The leader creates a log entry and propogate it to all followers.
Followers write the log entry and respond.
Once the leader receives a majority of responses, it commits the log entry to the state machine and informs all followers to commit. At this point, master returns success response to client.
Follower1 commits to the state machine, but Follower2 has not yet committed.