sled icon indicating copy to clipboard operation
sled copied to clipboard

remove snapshot_after_ops configurable, auto-tune threshold for size and time

Open spacejam opened this issue 5 years ago • 0 comments

we should shapshot when:

  • unmerged heap pointers use up a lot of space relative to the size of the last written snapshot
  • the log would take a long time to read during recovery due to the last snapshot being outdated

we should not snapshot when:

  • the snapshot thread has been active above a certain % of the time (ignored or reduced during testing)

spacejam avatar Feb 01 '21 12:02 spacejam