1
0
Fork 0

198 Commits (8e97088f9c1cc2d1fcd020df9c841720bf144c12)

Author SHA1 Message Date
Philip O'Toole d7611c8b9f Fix Store unit test 9 months ago
Philip O'Toole d0810106c3 Even simpler 9 months ago
Philip O'Toole 0d7008ff9e Better name 9 months ago
Philip O'Toole ec11fb4793 Simpler check 9 months ago
Philip O'Toole 4fde9fe572 Refactor tests 9 months ago
Philip O'Toole 4fb36f1049 More tests 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 583a4820f5 Add HasData, which returns true if there is data 9 months ago
Philip O'Toole 3d88672c60 Add fast-path backup 9 months ago
Philip O'Toole 5c5b226303 Working 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 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 dd1f511f0a Add unit test for cleanup 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 cc4addf7e0 Noop() returns ApplyFuture 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 e0c6861ca8 Improve test 10 months ago
Philip O'Toole e6ddf27072 Unit test sync between chunked loading and Snapshotting 10 months ago
Philip O'Toole 59e928d058 Remove superfluous blank line 10 months ago
Philip O'Toole 1f1ebf209f Don't delete last log 10 months ago
Philip O'Toole 97e9b14bdf Fix race during testing 10 months ago
Philip O'Toole 8adc11fb83 Snapshot in a goroutine 10 months ago
Philip O'Toole 4b272d04f1 Better use of counters in testing 10 months ago
Philip O'Toole c39d3472bc Check snapshot occurs at unit level 10 months ago
Philip O'Toole c93447e29f Delete chunked load entries in log after loading 10 months ago
Philip O'Toole 0dcc67f6f1 Perform full snapshot after chunked load
This must happen as chunked loading directly changes the SQLite file,
invalidating any existing Snapshots. Also, add missing unit tests for
chunked loading.
10 months ago
Philip O'Toole dfb8a60c17 Move Store Provide to a distinct type 10 months ago
Philip O'Toole 5b4ff9b8ce Fix test code 1 year ago
Philip O'Toole 1a24557c19 Merge remote-tracking branch 'origin' into wal-snapshot-store-v3 1 year ago
Philip O'Toole 208fc20659 Fix more uses of random 1 year ago
Philip O'Toole 54713b63f4 Merge remote-tracking branch 'origin' into wal-snapshot-store-v3 1 year ago
Philip O'Toole c51b8364e8 Fix import path 1 year ago
Philip O'Toole c1a8b4a13a Use global, sync'ed random source
Almost unbelievably it appears tests on AppVeyor get the same value when
seeding the random generator. See https://ci.appveyor.com/project/otoolep/rqlite/builds/47853399
1 year ago
Philip O'Toole c6e214de1a Remember store attributes 1 year ago
Philip O'Toole a9e895bee2 Some cleanups 1 year ago
Philip O'Toole ea8dc3ed18 More test fix-up post removal of in-memory 1 year ago
Philip O'Toole 6895525482 Rename some tests 1 year ago
Philip O'Toole aa72408bc5 Remove racy use of rand 1 year ago
Philip O'Toole b931e387be First pass at removing in-memory support 1 year ago
Philip O'Toole 23b8b6e5c9 Actually rename 1 year ago
Philip O'Toole e4a0d96f23 Further refactoring 1 year ago
Philip O'Toole 6c7c32ab4e Remove racy test code 1 year ago
Philip O'Toole aed541b98e Poll nodes 1 year ago
Philip O'Toole 8a8e126061 Use some loops 1 year ago
Philip O'Toole ef42d28e36 Refactor and log more during test
https://ci.appveyor.com/project/otoolep/rqlite/builds/47107026 - this
looks racy, as the Leader had been detected, but the config not yet
applied. Leave for now and see if more info can be gathered. This may be
happening because WaitForLeader() has a fast path now.
1 year ago
Philip O'Toole 1b299b7e9b Tigher logic 1 year ago