1
0
Fork 0

56 Commits (master)

Author SHA1 Message Date
Philip O'Toole 5abbb33390 Make some State-type functions for Snapshot 8 months ago
Philip O'Toole f4000a0173
Count failed snapshot reaps 8 months ago
Philip O'Toole 693a97f519
Fix typo 8 months ago
Philip O'Toole a9abda5655 Do defer first for style reasons 8 months ago
Philip O'Toole eda281ea48 List the newest snapshot, not oldest
If rqlite was killed after snapshot-creation, but before reaping took
place, Snapshot List() would return the oldest snapshot, not the newest.
This is not compliant with Hashicorp Raft requirements.
8 months ago
Philip O'Toole bf18b3fab5 Remove some excessive logging 9 months ago
Philip O'Toole 4095561a3f Only report Snapshot stats if available 9 months ago
Philip O'Toole 593d20714d Don't lock 9 months ago
Philip O'Toole a3540d7a95 Block sinks while getting stats 9 months ago
Philip O'Toole ad916270d2 Bring go mod import path into compliance 9 months ago
Philip O'Toole 88971bb883 Merge remote-tracking branch 'origin' into zero-wal 9 months ago
Philip O'Toole cdf7cbdea1 Handle snapshots for empty WALs 9 months ago
Philip O'Toole c05351e187 Improve log message 9 months ago
Philip O'Toole 919962c1fb Allow FullNeeded to be explicity set to true 10 months ago
Philip O'Toole 31aef91d17 Add FullNeeded() to Snapshot store
It may be necessary to override the FullNeeded definition, so wrap it.
10 months ago
Philip O'Toole f15f2b95b3 Count Snapshot upgrades 10 months ago
Philip O'Toole 53632ec5d5 Add Snapshot Store stats 11 months ago
Philip O'Toole 66c1002c32 Remove obsolete metrics 11 months ago
Philip O'Toole b2663de630 Rename snapshot2 -> snapshot 11 months ago
Philip O'Toole a69aa7838d Remove snapshot 1 11 months ago
Philip O'Toole dbdf78d0a3
Add Restore to Snapshot Strore 1 year ago
Philip O'Toole 98a151d5dc Measure reap-snapshots time 1 year ago
Philip O'Toole b6b73e5f0e More metrics 1 year ago
Philip O'Toole 86f3fda86e Record size of snapshot persist 1 year ago
Philip O'Toole 225b5346f5 Add basic stats for Snapshot store 1 year ago
Philip O'Toole 88f15a6b0e Log opening of Snapshots 1 year ago
Philip O'Toole 4f915b840c Tidy up code 1 year ago
Philip O'Toole 53ac4ffcb1 Start snapshot upgrade testing 1 year ago
Philip O'Toole f3c192a12e Back-to-back full snapshot testing 1 year ago
Philip O'Toole 889f6175fc Close readers during test 1 year ago
Philip O'Toole bffff64372 Tighthen up copying WAL from snapshot 1 year ago
Philip O'Toole 37c797e7b2 Revert "Store incremental WALs in generation directory"
This reverts commit 516635c77b.
1 year ago
Philip O'Toole 516635c77b Store incremental WALs in generation directory 1 year ago
Philip O'Toole eaef1a251a Only sync directories on non-Windows OSes
Maybe this is causing the test failures.
1 year ago
Philip O'Toole be68a51bc1 Add missing return err 1 year ago
Philip O'Toole 0589233362 More Windows-triggered fixes 1 year ago
Philip O'Toole 8fc02e698c Ensure only 1 Sink can exist at a time 1 year ago
Philip O'Toole f150094b3b Fix WAL copy file path for removal 1 year ago
Philip O'Toole 97b172401d More Snapshot Store check() logging 1 year ago
Philip O'Toole 307221d626 More Snapshot Store.Open() dev and test 1 year ago
Philip O'Toole 5eb4e38cbc Add comments and errors 1 year ago
Philip O'Toole 378f24e186 Comments 1 year ago
Philip O'Toole 516a50bc2f Remove unused functions 1 year ago
Philip O'Toole e4d5ffb8a9 Flesh our Store check() 1 year ago
Philip O'Toole f088b1af6b Fix a bunch of reaping bugs
Could be ready for integration with main Store now.
1 year ago
Philip O'Toole 4503187b2f Start full testing of snapshotting
I need a snapshot decoder, for use by the main Store. And then this
decoder could be used by the Sink too.
1 year ago
Philip O'Toole b0f46a60ba More reaping and related unit tests 1 year ago
Philip O'Toole be1d59588d Use ok with generations 1 year ago
Philip O'Toole da6273b2f4 Set Snapshot ID 1 year ago
Philip O'Toole 6446cfbcc8 Fix reaping 1 year ago