1
0
Fork 0

453 Commits (f3a73efb844328f9575ece01db342bf5ef2432c5)

Author SHA1 Message Date
Philip O'Toole abfe056b4c Remove any -wal and -shm files on shutdown
If in WAL mode, open-and-close again to remove the -wal file. This is not strictly necessary, since any on-disk database files will be removed when rqlite next starts, but it leaves the directory containing the database file in a cleaner state.
1 year ago
Philip O'Toole 6cd8d30749 Fix Store-level database-backup test 1 year ago
Philip O'Toole a6925414ef Better comments 1 year ago
Philip O'Toole b2f28d1181 Better WAL control 1 year ago
Philip O'Toole 2f7672d897 Enable WAL mode 1 year ago
Philip O'Toole 585f9c9c05 Use Snapshot decoder in Store 1 year ago
Philip O'Toole 58534d4815 Better name for V1 Snapshotter 1 year ago
Philip O'Toole c87931c45c Factor Snapshot creation into own module 1 year ago
Philip O'Toole 3f462eecfa Remove all on-disk SQLite files on startup 1 year ago
Philip O'Toole 7e1b8d12d7 Add full WAL support to DB layer 1 year ago
Philip O'Toole eed215c664
Only 1 Snapshot needs to be retained 1 year ago
Philip O'Toole b9253e6b41 Improve logging in Store 1 year ago
Philip O'Toole 4a7ac2850f rqlite doesn't (yet) support WAL mode SQLite data 1 year ago
Philip O'Toole 92bc513242 Move FSMSnapshot to own source file 1 year ago
Philip O'Toole e4a0d96f23 Further refactoring 1 year ago
Philip O'Toole 3dd37f8771 Move on-disk Store testing to distinct file 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
Philip O'Toole 9faea33da7 Give time for new leader to be elected 1 year ago
Philip O'Toole 7badba4a7a Try fast paths 1 year ago
Philip O'Toole 76ba50ca86 Log last (if any) WaitForLeader error 1 year ago
Philip O'Toole 498cc39925 Fix Store unit tests 1 year ago
Philip O'Toole ef403cdcc6 Fix up WaitForLeader
Add dedicated error codes too.
1 year ago
Philip O'Toole 562b1de03b Multi-node testing of WaitForRemoval() 1 year ago
Philip O'Toole 94dbff6851 Unit test WaitForRemoval() on Store 1 year ago
Philip O'Toole c05e091cd1 Add WaitForRemoval 1 year ago
Philip O'Toole fb73b8e313 Add Contains() to Servers 1 year ago
Philip O'Toole c23d3e60b1 Reuse existing consistency level 1 year ago
Philip O'Toole ee01569f53 Request Freshness testing 1 year ago
Philip O'Toole 2186fa0c66 Merge branch 'master' of github.com:rqlite/rqlite 1 year ago
Philip O'Toole c40303b6ae Fix test error message 1 year ago
Philip O'Toole ddea64ebe0 Fix Store tests 1 year ago
Philip O'Toole 18b76ebd4f
go fmt 1 year ago
Philip O'Toole 2f8d4e95e0
Update store.go 1 year ago
Philip O'Toole 3058d3e9fc Fix transaction handling in db.Request() 1 year ago
Philip O'Toole eea101a1d5 Fix duplicate import 1 year ago
Philip O'Toole c995986630 Add parameter tests 1 year ago
Philip O'Toole 061ba8eed5 Add Request Tx unit test 1 year ago
Philip O'Toole 2261cb30c9 First unit test of Store.Request() 1 year ago
Philip O'Toole f7cdbdea68 Handle Command_COMMAND_TYPE_EXECUTE_QUERY in Store
Works! Store.Request() needs unit testing however.
1 year ago
Philip O'Toole b2b0b188e9 Factor out functions 1 year ago
Philip O'Toole e171b2e725 Unit test RequiresLeader 1 year ago
Philip O'Toole 89f472743b Start adding Store.Request() 1 year ago
Philip O'Toole 7680483793
Tighten up remove 1 year ago
Philip O'Toole e64d78b809 Support removing self from cluster on shutdown 1 year ago
Philip O'Toole 02b6f7df61 selfLeaderChange is not just about restores 1 year ago
Philip O'Toole 159b127101 Clean up comments 1 year ago