1
0
Fork 0

28 Commits (a5095ed741f51846a7ee4aa53660ca7c6a21a756)

Author SHA1 Message Date
Philip O'Toole 7081110506 Allow control of processing timing information 10 years ago
Philip O'Toole 2def761ec9 'go vet' fixes 10 years ago
Philip O'Toole 33c8135014 Change API for ease of use
Fixes issue #27.
10 years ago
Philip O'Toole fe415e6452 Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go"
This reverts commit f2de6cc26e, reversing
changes made to cdc6021ae7.

The change causes a panic when the server is started like so:

$GOPATH/bin/rqlite ~/node.1
10 years ago
Fernando Álvarez 02626803a4 gometalinter: rqlite/server 10 years ago
Fernando Álvarez eba40187a9 Deprecate code.google.com/p/log4go
- Add new internal `rqlite/log` package
- Replace `log4go` with `rqlite/log`
- Adapt log formatting in existing logs

Fixes #21
10 years ago
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