featurebase/dax/storage
Matthew Jaffee b8b08bc9eb first cut at automatic snapshotting
- had to make sure we don't snapshot until directive is fully applied
on a computer... otherwise there's races between loading the files and
truncating the write log.

- added a dirty bit to resources and a bool return to incrementing the
write log... don't snapshot if it returns false because that means
there's been no writes. (but make sure you close the storage transaction!)

- added the actually snapshotting routine which just fires every
<timeout> and serially snapshots everything.

- tweaked some logging

- added ability to get all tables in an org/db or literally all. I
think I just needed the "literally all", but it was natural to allow
it to be scoped to org or DB as well.
2022-12-21 07:42:04 -06:00
..
encoding.go more WIP 2022-12-14 14:23:12 -06:00
storage.go first cut at automatic snapshotting 2022-12-21 07:42:04 -06:00
storage_test.go first cut at automatic snapshotting 2022-12-21 07:42:04 -06:00
util.go extremely WIP 2022-12-14 14:23:12 -06:00