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
10 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
Philip O'Toole
c0061aca06
Add missing update
10 months ago
Philip O'Toole
fd01909415
Update writer.go
10 months ago
Philip O'Toole
967bd410ae
No need to cast indicces
...
GPT4 spotted this
10 months ago
Philip O'Toole
ab3671d66c
Make it clearer why checksum checks not needed
10 months ago
Philip O'Toole
4c31c480f5
Better name
10 months ago
Philip O'Toole
5a8a2744ff
Support skipping verifying frame data
...
This halves the Compacting Scan time, and doesn't seem necessary since
rqlite is the only system writing the WAL files.
10 months ago
Philip O'Toole
1b0dfe6942
Check WAL frame header checksum earlier
10 months ago
Philip O'Toole
bb12489e9d
Linting
10 months ago
Philip O'Toole
aaf85461e7
Minor updates
10 months ago
Philip O'Toole
10546281c3
Remove unneeded testdata
10 months ago
Philip O'Toole
b68bb9a0d2
Remove invalid test
10 months ago
Philip O'Toole
d36d31d0c4
Check Writer and Compactor
10 months ago
Philip O'Toole
d690993cff
Comments
10 months ago
Philip O'Toole
93c1b2c435
Add Compacting tests with 0 commit frames
10 months ago
Philip O'Toole
797bb90f75
Basic unit test for Compacting Scanner
10 months ago
Philip O'Toole
22832edce0
More type rename
10 months ago
Philip O'Toole
6ec424a6b4
Rename types
10 months ago
Philip O'Toole
f1dc1acbf8
Fine renames
10 months ago
Philip O'Toole
ee83091741
Add Compacting Scanner
...
Not tested, just builds.
10 months ago
Philip O'Toole
285a985e51
Unit test FullWALScanner
10 months ago
Philip O'Toole
e8ad9f43ac
Full WAL writer passes test
10 months ago
Philip O'Toole
f2102db9bb
Full WAL writer -- not tested
10 months ago