1
0
Fork 0

93 Commits (4988c299517b4ea7b8445985b1e6fe86a2272b06)

Author SHA1 Message Date
Philip O'Toole 4988c29951 Log at DB level if open times are higher 9 months ago
Philip O'Toole e3fa8584c0 Store can handle snapshotting empty WAL files 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 d975d25503
Merge pull request #1391 from rqlite/otoolep-restorer-unit-tests
Add Restorer unit tests
1 year ago
Philip O'Toole d86e14d55a
Update store_test.go 1 year ago
Philip O'Toole dbdf78d0a3
Add Restore to Snapshot Strore 1 year ago
Philip O'Toole 3b6c988dd9 Do some syncing and closing 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 f9d939e9d3
Rename stream_header.pb to stream_header.proto 1 year ago
Philip O'Toole 4f915b840c Tidy up code 1 year ago
Philip O'Toole 4f94de40d3
Update comments 1 year ago
Philip O'Toole 7acb864b31
Close the Snapshot reader 1 year ago
Philip O'Toole 4f076202c0 Wrap some upgrading in function to trigger defer
This will ensure all file handles are closed before attempting to
rename or remove directories.
1 year ago
Philip O'Toole 0aac0c8928 Revert "Use manually-created temp dirs"
This reverts commit f1845e887f.
1 year ago
Philip O'Toole f1845e887f Use manually-created temp dirs
Using t.TempDir() may be failing on Windows due to removals.
1 year ago
Philip O'Toole 47e9bbde49 Fix single-node upgrade test 1 year ago
Philip O'Toole 207533a685 Don't need state in this snapshot 1 year ago
Philip O'Toole 87f6b42b60 Revert "Only need meta in this directory"
This reverts commit a89408dd88.
1 year ago
Philip O'Toole a89408dd88 Only need meta in this directory 1 year ago
Philip O'Toole 7abf10a832 Add test data 1 year ago
Philip O'Toole a9f983d457 More testing of upgrade
Seems to work well, but still need to query the actual database.
1 year ago
Philip O'Toole 518c1354e1 Upgrade runs without error but no new Snapshots 1 year ago
Philip O'Toole bab64b9f20 Re-order upgrade logic 1 year ago
Philip O'Toole 53ac4ffcb1 Start snapshot upgrade testing 1 year ago
Philip O'Toole 7a8d88756c WIP snapshot upgrade 1 year ago
Philip O'Toole d1606596f8 Fix filename 1 year ago
Philip O'Toole d6b9c5b39e Close streams 1 year ago
Philip O'Toole f3c192a12e Back-to-back full snapshot testing 1 year ago
Philip O'Toole 208d40a668 Be sure we close 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 4198724ab6 Reaping unit test 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