Philip O'Toole
|
91834c00c4
|
Always close response bodies
|
10 years ago |
Philip O'Toole
|
45fef88a7a
|
Redirect to leader on join
Fixes issue #17.
|
10 years ago |
Philip O'Toole
|
106296515f
|
Add leader redirection
If a node receives a request to mutate the database, and it is not the
leader, it will return HTTP 307 Temporary Redirect.
|
10 years ago |
Rene Fragoso
|
f3dc6f7e9d
|
Fix comment/godoc for NewServerDiagnostics
|
10 years ago |
Philip O'Toole
|
2d3a818b0f
|
Return to using goraft/raft
|
10 years ago |
Philip O'Toole
|
d9a5214f4b
|
Update server.go
Remove duped Raft info
|
10 years ago |
Philip O'Toole
|
41a7cd401e
|
Fix typo in comments
|
10 years ago |
Philip O'Toole
|
03409d927b
|
DRY up JSON pretty printing
|
10 years ago |
Philip O'Toole
|
33f682244f
|
Add endpoint to dump Raft details
Issue #8.
|
10 years ago |
Philip O'Toole
|
85ca48ac06
|
Initialize Raft commands before Server
Otherwise join doesn't work.
|
10 years ago |
Philip O'Toole
|
0fc2a2ab3c
|
Push more Raft initialization into the Server
|
10 years ago |
Philip O'Toole
|
be05b8425f
|
Fix metric name typo
|
10 years ago |
Philip O'Toole
|
3ee67f14cc
|
Add host and port to diagnostics output
|
10 years ago |
Philip O'Toole
|
a6d421f31f
|
Better commenting
|
10 years ago |
Philip O'Toole
|
69a80f2ddd
|
Count number of snaphots created
|
10 years ago |
Philip O'Toole
|
18b95289e1
|
Explicitly load snapshot from disk at start-up
|
10 years ago |
Philip O'Toole
|
9415c07cd9
|
New -> NewServer
More inline with existing conventions.
|
10 years ago |
Philip O'Toole
|
c7feba3489
|
Add log message indicating snap is going to start
|
10 years ago |
Philip O'Toole
|
2c01218169
|
Initialize snapConf
|
10 years ago |
Philip O'Toole
|
c7160a6d96
|
Add initial support for snapshotting.
Not tested.
|
10 years ago |
Philip O'Toole
|
aca943d194
|
Prepare to snap after some number of log entries
|
10 years ago |
Philip O'Toole
|
e69218ef4a
|
Layout source in a more conventional style
|
10 years ago |