featurebase/dax/server
Matthew Jaffee 0f67a0c432 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.

(cherry picked from commit b8b08bc9eb)
2023-01-10 23:26:29 +00:00
..
test Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
config.go first cut at automatic snapshotting 2023-01-10 23:26:29 +00:00
dup.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
dup_arm64.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
server.go first cut at automatic snapshotting 2023-01-10 23:26:29 +00:00