These are chat archives for atomix/atomix
SNAPSHOT, essentially all entries prior to the last snapshot should be ignored since their state has presumably been stored in the snapshot, but all entries after the last snapshot should not be ignored.
ServerSessionContextwe do reference counting to determine when it's safe to remove session entries from the log. But the problem is,
SNAPSHOTentries are released immediately, so once a session is closed it's releasing the register/unregister entries as well. Once log compaction happens and the server is restarted,
SNAPSHOTentries won't be applied since there's no associated session. It's certainly possible for the register entry to be removed before a snapshot of the rest of the entries can be taken.