Skip to content

Do old snapshots ever get purged? #29

Answered by sakno
natilivni asked this question in Q&A
Discussion options

You must be logged in to vote

There are two audit logs supported out-of-the-box:

  1. ConsensusOnlyState is suitable if you need only the consensus across the cluster. It allocates on the heap. However, it doesn't maintain the content of the log entries. Committed log entries are always squashed to the simple representation containing the index of the last committed log entry and its term. So this type of log never grows in memory.
  2. PersistentState doesn't store the log entries in memory. Instead, it uses persistent storage such as disk.

Persistent log is highly optimized for disk I/O, parallel reads, in-memory cache for fast lookup and many other things. Of course, you need to configure it according with your needs. The …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@natilivni
Comment options

@sakno
Comment options

Answer selected by natilivni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants