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
|
ef403cdcc6
|
Fix up WaitForLeader
Add dedicated error codes too.
|
1 year ago |
Philip O'Toole
|
c05e091cd1
|
Add WaitForRemoval
|
1 year ago |
Philip O'Toole
|
c23d3e60b1
|
Reuse existing consistency level
|
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
|
eea101a1d5
|
Fix duplicate import
|
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
|
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 |
Philip O'Toole
|
0c6be22478
|
Close auto-restore file
|
1 year ago |
Philip O'Toole
|
1fa7cf73a7
|
Log any failure to delete auto-restore file
|
1 year ago |
Philip O'Toole
|
1941c947c7
|
Fix comment
|
1 year ago |
Philip O'Toole
|
466c757dcf
|
Add long-missing init call to Store stats
|
1 year ago |
Philip O'Toole
|
ee55a35c03
|
SetRestorePath unit testing
|
1 year ago |
Philip O'Toole
|
e7919a906f
|
Avoid the race during testing
|
1 year ago |
Philip O'Toole
|
31467482a3
|
Store-level multi-node auto-restore testing
This test ensures that auto-restoring works as expected when
Bootstrapping is enabled.
|
1 year ago |
Philip O'Toole
|
bf1e1cb1cd
|
Add first tested version of Store auto-restore
|
1 year ago |
Philip O'Toole
|
5c2e8e7ad6
|
Add channel which gets signal on becoming Leader
|
1 year ago |
Philip O'Toole
|
833d9d3a6f
|
Perform older checks first
|
1 year ago |
Philip O'Toole
|
5e3f294dfa
|
Only check for a ready store if making changes
|
1 year ago |
Philip O'Toole
|
2ce3c5f34c
|
Check Store is ready in more places
|
1 year ago |
Philip O'Toole
|
57ca03014b
|
More integration and testing of Store readiness
|
1 year ago |
Philip O'Toole
|
716f84ff28
|
Store supports registering "ready" channels
|
1 year ago |
Philip O'Toole
|
372e4dd4a9
|
Store implements simpler Provide() interface
|
1 year ago |
Philip O'Toole
|
5fcc222f73
|
Better Store comment
|
1 year ago |
Philip O'Toole
|
ae97060f2c
|
Implement the DataProvider interface on the Store
|
1 year ago |
Philip O'Toole
|
519df067cc
|
Check for more possible errors with peers
https://github.com/rqlite/rqlite/issues/1217
|
1 year ago |
Philip O'Toole
|
35df643a0b
|
Remove unneeded type assertions
|
1 year ago |
Philip O'Toole
|
1794724ef0
|
Remove unused code and fix error handling
|
1 year ago |
Philip O'Toole
|
93b3308502
|
Skip any files that disappear during walking
|
1 year ago |
Philip O'Toole
|
ff001bc5a8
|
Migrate to a Protos data model for Notify Requests
|
2 years ago |
Philip O'Toole
|
a782513a11
|
Migrate to a join-request proto
|
2 years ago |
Philip O'Toole
|
fdf5fce053
|
Update store.go
|
2 years ago |
Philip O'Toole
|
2730fa06e5
|
Empty config means not a voter
|
2 years ago |
Philip O'Toole
|
5636febf9a
|
Add IsVoter() and add to status/ output
|
2 years ago |
Philip O'Toole
|
defde21281
|
Merge remote-tracking branch 'origin' into ignore-join-explicit-if-state
|
2 years ago |
Philip O'Toole
|
90b4dc0745
|
Silently ignore unchanged node self-joins
|
2 years ago |
Philip O'Toole
|
54d61c7866
|
Update store.go
|
2 years ago |
Philip O'Toole
|
a2899a1cdd
|
Support stepping down before shutting down
|
2 years ago |
Philip O'Toole
|
0702e39ace
|
Add ResetStats
|
2 years ago |
Philip O'Toole
|
4da5b6322f
|
Log message could be confusing with remote remove
|
2 years ago |
Philip O'Toole
|
98575d727b
|
Start adding remote remove node
More testing, including unit testing, required.
|
2 years ago |
Philip O'Toole
|
bfc35eaf7c
|
Simplify reap command line flags (#1118)
Simplify reap command line flags
|
2 years ago |
Philip O'Toole
|
220424c7d1
|
Simple refactor, better Go style
|
2 years ago |