'What is the purpose of snapshot in Aeron Cluster?

I started learning about Raft as well as Aeron Cluster lately. One thing I come across is Aeron has the notion of taking snapshot to save the state of the machine. According to Raft, all the followers should have the same state as the leader. In that case, what's the purpose of snapshot? I thought with Raft, there shouldn't be any need to replay any log?



Solution 1:[1]

A snapshot allows for fast recovery on restart. Without a snapshot the log would have to be replayed from the beginning of time to reach the same state. With a snapshot approach, the latest snapshot can be load and any log after this replayed to reach the same state.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Martin Thompson