1
0
Fork 0

17 Commits (e49ed1bd9def922219e5804f97e0a3d008f21a21)

Author SHA1 Message Date
Philip O'Toole eaba1d2316
ABL 4 years ago
Philip O'Toole 824dab5536 Doesn't work because Store can't be re-opened
Due to network issues.
4 years ago
Philip O'Toole 4f0c3092b3 Better command decoding panic message 4 years ago
Philip O'Toole a5cd120296 ABL 4 years ago
Philip O'Toole 6575de779d
Use Protobuf for encoding Raft Log commands
This PR changes Raft Log Entry encoding from JSON to Protobuf. Furthermore, larger Raft commands (which can result from batching SQL statements, or individually long SQL statements) are compressed before encoding.

This primary reason for this change is to reduce IO load since that is one of the largest performance bottlenecks. It will also reduce internode traffic.

Legacy JSON-encoded commands are still handled by this code, so this change is backwards-compatible with previous releases in the v5 series.
4 years ago
Philip O'Toole d7d46f79c0 Start refactor for Hashicorp
Heavily influenced by hraftd. rqlited builds without error.
9 years ago
Philip O'Toole 7f4105432f Switch to raft fork 9 years ago
Fernando Álvarez 022b536ade Revert "Revert "Merge pull request #25 from oscillatingworks/deprecate-log4go""
This reverts commit fe415e6452.
10 years ago
Philip O'Toole 2def761ec9 'go vet' fixes 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 f2a18498a0 gometalinter: rqlite/command 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 2d3a818b0f Return to using goraft/raft 10 years ago
Philip O'Toole 42916c55f8 Add very simple unit tests of commands 10 years ago
Philip O'Toole 89e9d7fe3b Rename "write" command as "execute" 10 years ago
Philip O'Toole a6d421f31f Better commenting 10 years ago
Philip O'Toole e69218ef4a Layout source in a more conventional style 10 years ago