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
dd1f511f0a
Add unit test for cleanup
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
Philip O'Toole
5f3e854c4a
Remove some blank lines
9 months ago
Philip O'Toole
364128c9b0
Tighter code
9 months ago
Philip O'Toole
10129ed312
Confirm restored data looks like a SQLite file
9 months ago
Philip O'Toole
c4e09c1f47
Noop earlier - make sure it's successful
9 months ago
Philip O'Toole
4988c29951
Log at DB level if open times are higher
9 months ago
Philip O'Toole
e7ab1389c9
Periodically log boot progres
9 months ago
Philip O'Toole
140f106acc
Add ReadFrom to Store
9 months ago
Philip O'Toole
e6b703a0c0
Remove ability to trigger chunked-loading
...
The low-level Raft system still recognizes the Chunk command, so that
this system can interop with older versions, which might still have a
Chunk command in logs.
9 months ago
Philip O'Toole
1e34b89cd9
Don't load invalid database
9 months ago
Philip O'Toole
3cc47bceee
Revert to simpler one-shot load for SQLite files
9 months ago
Philip O'Toole
cc4addf7e0
Noop() returns ApplyFuture
9 months ago
Philip O'Toole
7032ac7319
Don't truncate to 0 trailing entries
...
The Raft code seems to be have an unsigned int overflow problem when
this happens.
9 months ago
Philip O'Toole
0ef35f1cbc
Fix restart issue after chunked-loading
9 months ago
Philip O'Toole
caca666757
Remap "load in progress" to error type
9 months ago
Philip O'Toole
5c86e2ae70
Better name
9 months ago
Philip O'Toole
c4407bf616
More comment fixes
9 months ago
Philip O'Toole
8708d51746
Fix GoDoc
9 months ago
Philip O'Toole
6fdd454632
Introduce explicit FSM type
...
This will make the code cleaner, and help clean up un-closed file
handles.
9 months ago
Philip O'Toole
abc0898c5f
Close all dechunkers at Store shutdown
9 months ago