1
0
Fork 0

349 Commits (6fa07c3b58711943864ae65082f742a8845e227a)

Author SHA1 Message Date
Philip O'Toole 231a7ec171
Remove unneeded variable 8 months ago
Philip O'Toole f47aa4117e Fix test on Windows
https://ci.appveyor.com/project/otoolep/rqlite/builds/48999854
8 months ago
Philip O'Toole f72a398190 Unit test Swappable DB 8 months ago
Philip O'Toole 0281178111 Call functions 8 months ago
Philip O'Toole 7feabe6c8b GoDoc 8 months ago
Philip O'Toole 3ed29b5c31 Introduce a synchronized, swappable DB
Type prevents races between queries and operations (such as auto-vacuum)
which change the DB object out.
8 months ago
Philip O'Toole 2dac279c83 Add VacuumInto to database layer 8 months ago
Philip O'Toole e4d2b4cddb Improve comments 8 months ago
Philip O'Toole fa2034b42e Try shorter time 8 months ago
Philip O'Toole af4b14b639 Try a sleep 8 months ago
Philip O'Toole ba3b3f1b60 Change DB modified times 8 months ago
Philip O'Toole cbd50a5d9a See if opening WR will fix Windows 8 months ago
Philip O'Toole 1f5e95a5d9 Unit test Sums 8 months ago
Philip O'Toole 9ad7b1d94e Fully handle "file does not exist" error 8 months ago
Philip O'Toole 39a882d9d6 Test VACUUM changes via sums
Seems like mtime is not precise enough in CircleCI.
8 months ago
Philip O'Toole 10c2a143cd Test using an MD5 sum compare of WALs 8 months ago
Philip O'Toole a6c839829a DRY up code 8 months ago
Philip O'Toole 45f5386153 Fix comments 8 months ago
Philip O'Toole 5a27dac7b2 Run integrity check at end of test 8 months ago
Philip O'Toole 6398eac6d5 Fix test 8 months ago
Philip O'Toole 8f98fd4d1c Actually, WAL should be copied after VACUUM! 8 months ago
Philip O'Toole 8f8612d6da Comment test 8 months ago
Philip O'Toole 4cd3c438f4 Add more involved WAL checkpoint unit test
This test passes, but if VACUUM is performed, the dst database becomes
corrupt. This shows that VACUUM introduces issues which warrant a full
snapshot after any proposed auto-vacuum.

https://github.com/rqlite/rqlite/issues/1609
8 months ago
Philip O'Toole cfefc090b0 Remove use of deprecated ioutil 8 months ago
Philip O'Toole 3684e12257 Re-enable SYNC off mode 8 months ago
Philip O'Toole 1833417fce Minor refactoring of DB code 8 months ago
Philip O'Toole 36ff916a6e Enhance DB checkpoint unit test 8 months ago
Philip O'Toole ac1af31a08 Move standalone functions into own file 8 months ago
Philip O'Toole ceab400720 Refactor DB open 8 months ago
Philip O'Toole 212aedbfb2 Provider Check unit tests 9 months ago
Philip O'Toole bedfaeded8 Add "last modified" to DB stats 9 months ago
Philip O'Toole 3b761d9aac More testing 9 months ago
Philip O'Toole 14858a37d4 Use last DB mod time in Provider 9 months ago
Philip O'Toole a087d509ac Upload Provider uses Snapshot-locking backup 9 months ago
Philip O'Toole 5c5b226303 Working 9 months ago
Philip O'Toole 6c1d328e46 Humanize database sizes 9 months ago
Philip O'Toole 504dd3cd65 Friendlier log message 9 months ago
Philip O'Toole 4d605ac9eb Store WAL path in store, to avoid races
https://app.circleci.com/pipelines/github/rqlite/rqlite/3966/workflows/a460ab69-2827-4a72-9a79-1aceda68ee7d/jobs/31288
9 months ago
Philip O'Toole ad916270d2 Bring go mod import path into compliance 9 months ago
Philip O'Toole fc7b9901f6 Add DB-level unit test of WAL removal on close 9 months ago
Philip O'Toole e48031b6f5 Small tweaks 9 months ago
Philip O'Toole ff7a6bc872 Warn for 1GB SQLite files (and larger) 9 months ago
Philip O'Toole bf1b6ea5de Open a non-existent database file should work 9 months ago
Philip O'Toole 4988c29951 Log at DB level if open times are higher 9 months ago
Philip O'Toole 140f106acc Add ReadFrom to Store 9 months ago
Philip O'Toole cdf7cbdea1 Handle snapshots for empty WALs 9 months ago
Philip O'Toole 62dcb881fc More DB and Checkpoint tests 9 months ago
Philip O'Toole a0bf10b021 Move VACUUM to DB layer 10 months ago
Philip O'Toole 817998396f Add VACUUM to database code 10 months ago
Philip O'Toole 11c5c86c4b
Merge pull request #1449 from rqlite/otoolep-remove-unneeded-header-fetch
Remove unneeded refetch of the header
10 months ago