1
0
Fork 0

817 Commits (master)

Author SHA1 Message Date
Philip O'Toole 6b57a76f67 Use const 8 months ago
Philip O'Toole e1389bf720 Only set last vac if we have it 8 months ago
Philip O'Toole 9d2c698910 Initial implementation of automatic VACUUM 8 months ago
Philip O'Toole ce28a0437f Simpler bool assignment 8 months ago
Philip O'Toole e7ca1ed220 Re-enable incremental logging if Raft level < WARN 8 months ago
Philip O'Toole d383e865cb Don't log incremental Persist times 8 months ago
Philip O'Toole 5a1ef0d6b4 Merge remote-tracking branch 'origin' into full-snapshot-logging-only 8 months ago
Philip O'Toole 3294b87727 Only log full snapshots 8 months ago
Philip O'Toole 78f4653b5b Change Raft default log level to WARN 8 months ago
Philip O'Toole 6ef059975c Unit test against error text changing 8 months ago
Philip O'Toole c0470289d9 Standardize logging by Raft module 8 months ago
Philip O'Toole 1bd0393ca1 Any Execute is assumed to change the database 8 months ago
Philip O'Toole f34ec4d04f Merge branch 'create-table-no-rows' into raft-index-upload-check 8 months ago
Philip O'Toole 4b3b40654e More unit testing of DBApplied 8 months ago
Philip O'Toole 56dca6871d CREATE TABLE returns rows = 0
Use a simpler check for mutation.
8 months ago
Philip O'Toole 68521d34a2 Fix AWS client and Store Provider 8 months ago
Philip O'Toole 0b134255d7 Better DBAppliedIndex unit test 8 months ago
Philip O'Toole 148738b81a Remove blank line 8 months ago
Philip O'Toole 10a9361dbb Best test 8 months ago
Philip O'Toole 7b60c46791 Unit test index-update on Restore 8 months ago
Philip O'Toole cf51165524 Fix up comment 8 months ago
Philip O'Toole fdd65cde8d Set indexes post Restore 8 months ago
Philip O'Toole 3ddeebbba4 Improve Store restart test 8 months ago
Philip O'Toole 0cbbb44b48 GoDoc 8 months ago
Philip O'Toole 40166b852b More logic related to indexes in Store 8 months ago
Philip O'Toole 6b823052a3 Bring internal indexes up-to-date post Restore 8 months ago
Philip O'Toole 481bb0937c Unit test DB applied index 8 months ago
Philip O'Toole 646dc38976 More checks 8 months ago
Philip O'Toole f8291ae980 Unit test Command Processor 8 months ago
Philip O'Toole d661d1faa9 Shorter variable names 8 months ago
Philip O'Toole 43ea0615cd Tighthen up DB applied index 8 months ago
Philip O'Toole 5b75396057 Track index of log which last mutated the database 8 months ago
Philip O'Toole b50867be47 Track commands which change the database 8 months ago
Philip O'Toole 30f692f353 Improve Boot unit testing 8 months ago
Philip O'Toole c0d88881bb Refactor Provider tests 8 months ago
Philip O'Toole aa2cf2dd46 Configure Store Provider 8 months ago
Philip O'Toole e96ec7bb27 Add utility test function 8 months ago
Philip O'Toole b6731ff5d9
Fix method name 8 months ago
Philip O'Toole f5c8be87db
Update provider.go 8 months ago
Philip O'Toole d9d9717cb0
GoDoc 8 months ago
Philip O'Toole e9eeb94158
Remove unused import 8 months ago
Philip O'Toole f99a433c66
Provide doesn't ensure DELETE mode 8 months ago
Philip O'Toole dd70085204
Typo 8 months ago
Philip O'Toole a359900dfa
Fix typos 8 months ago
Philip O'Toole 1b21c8f021 Dig into Snapshot Store during Store tests 8 months ago
Philip O'Toole fb45899e81 Loading a database invalidates existing snapshots 8 months ago
Philip O'Toole 602d2874ca Move to times 8 months ago
Philip O'Toole b111a7bf98 Provide should also return last modified 8 months ago
Philip O'Toole d7a5d3676a More robust test 9 months ago
Philip O'Toole 212aedbfb2 Provider Check unit tests 9 months ago
Philip O'Toole 14858a37d4 Use last DB mod time in Provider 9 months ago
Philip O'Toole e14d065e3d Comments and counters 9 months ago
Philip O'Toole 2ff37f9362 Implement Check() on Store Provider 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 cf23612147 ABL 9 months ago
Philip O'Toole b62e7960c9 Switch to "BestSpeed" for all internode traffic 9 months ago
Philip O'Toole d7611c8b9f Fix Store unit test 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 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 0b51616f50
Merge pull request #1567 from rqlite/use-progress
Refactor to make more use of `progress` module
9 months ago
Philip O'Toole 63e3f8c80f Refactor to make more use of `progress` module 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 c315c0ecf6
Update cas.go 9 months ago
Philip O'Toole 1002d2a29f
ABL 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 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
Philip O'Toole e3fa8584c0 Store can handle snapshotting empty WAL files 9 months ago
Philip O'Toole 36ad021fdd Don't ignore errors 9 months ago
Philip O'Toole e0c6861ca8 Improve test 9 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 df76560168 Sync and report number of loads in progress 10 months ago
Philip O'Toole b0cd5c5a0c Add more Load stats 10 months ago
Philip O'Toole e0f361509a Handle aborted chunks at lowest level 10 months ago
Philip O'Toole dd6f386450 Refactor chunk loading 10 months ago
Philip O'Toole 94898ce43e Track loads in progress 10 months ago
Philip O'Toole 44fa23b714 Use TrailingLogs = 0 to truncate log 10 months ago
Philip O'Toole 264e9822eb Standardize on chunk size 10 months ago
Philip O'Toole d726a4c780 Correct and simplify logic 10 months ago
Philip O'Toole a96112b41d Snapshot log after one-command load 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