Philip O'Toole
e14d065e3d
Comments and counters
9 months ago
Philip O'Toole
03c9441e94
Clearer comment
9 months ago
Philip O'Toole
f3ba52c749
Merge remote-tracking branch 'origin' into backup-vacuum-fast-path
9 months ago
Philip O'Toole
bccc83b7d5
Add fast path for vacuum, non-compressed backups
9 months ago
Philip O'Toole
a087d509ac
Upload Provider uses Snapshot-locking backup
9 months ago
Philip O'Toole
b62e7960c9
Switch to "BestSpeed" for all internode traffic
9 months ago
Philip O'Toole
a5f2bd8d74
Allow WAL files for /boot
9 months ago
Philip O'Toole
720926a61a
Simpler return
9 months ago
Philip O'Toole
9c2e730995
Support compressed backups at Store level
9 months ago
Philip O'Toole
36ee3faf08
Move some state-related functions to own file
9 months ago
Philip O'Toole
d1cc802292
Fix return codes in HasData
...
This function should actually work fine, can wait for next release.
9 months ago
Philip O'Toole
583a4820f5
Add HasData, which returns true if there is data
9 months ago
Philip O'Toole
fe4747ba0e
Merge pull request #1557 from rqlite/remove-wal-req
...
Remove restriction on non-WAL restore
9 months ago
Philip O'Toole
21dc186186
Remove restriction on non-WAL restore
...
Never really had a strong reason for it.
9 months ago
Philip O'Toole
f06eba4bb8
Fix logic
9 months ago
Philip O'Toole
6333b8cd82
Check for error with specific text
9 months ago
Philip O'Toole
f18fb66665
Better logic
9 months ago
Philip O'Toole
c1cd29e163
Ignore nothing to snapshot
9 months ago
Philip O'Toole
3d88672c60
Add fast-path backup
9 months ago
Philip O'Toole
8bfa54d700
Unit test CAS
9 months ago
Philip O'Toole
5c5b226303
Working
9 months ago
Philip O'Toole
bf18b3fab5
Remove some excessive logging
9 months ago
Philip O'Toole
07f41056b2
Friendly dir size
9 months ago
Philip O'Toole
7dd161c386
Don't ever use zero tickers
9 months ago
Philip O'Toole
a8cb7bf142
Always stop tickers
9 months ago
Philip O'Toole
8230b11088
Cleaner WAL goroutine handling
...
Add a unit test too, checking if WAL-triggered snapshotting actually
happens.
9 months ago
Philip O'Toole
d881d8a78c
Merge remote-tracking branch 'origin' into command-processor
9 months ago
Philip O'Toole
4fa94cc465
Fix logic
9 months ago
Philip O'Toole
4095561a3f
Only report Snapshot stats if available
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
40c5426b9f
Refactor into CommandProcessor
9 months ago
Philip O'Toole
c501d2d48f
Don't close nil channel
9 months ago
Philip O'Toole
db00fb3c99
Don't check for WAL size if 0 interval
9 months ago
Philip O'Toole
7c97fc4347
Support snaphotting on WAL size
9 months ago
Philip O'Toole
aac54ef1c0
User snapshot channel not needed
9 months ago
Philip O'Toole
1262de501a
Set trailing logs for user-requested snapshot
9 months ago
Philip O'Toole
20cf8cb38e
More variable corrections
9 months ago
Philip O'Toole
d9a96db815
More counting of Snapshotting
9 months ago
Philip O'Toole
04dd6a417d
Correct use of metric
9 months ago
Philip O'Toole
8f625d86f1
More comment updates
9 months ago
Philip O'Toole
19a2970dd1
Improve comments
9 months ago
Philip O'Toole
9b00510382
Make Notify requirements clearer
9 months ago
Philip O'Toole
954503dc66
Move Store to Layer and create NewLayer in tcp
9 months ago
Philip O'Toole
ad916270d2
Bring go mod import path into compliance
9 months ago
Philip O'Toole
9b193f2f4c
More coverage cleanup
9 months ago
Philip O'Toole
2e81a92e3a
Fix defer ordering
9 months ago
Philip O'Toole
5942e986a8
Simplify and correct DB path logic
9 months ago
Philip O'Toole
f6b0be13ed
Create temp SQLite files in same location as db
9 months ago
Philip O'Toole
54a2487807
Don't test WAL removal
...
Look, it could always happen if the node is crashed hard. A WAL file
could be left around at anytime, just accept it and don't bother with
the cleanup.
9 months ago
Philip O'Toole
5f9c9aad2d
Don't re-open and close on shutdown
9 months ago