Philip O'Toole
304124952c
Add Store level changes
...
Needs unit testing, and HTTP testing won't compile.
2 years ago
Philip O'Toole
d84fb85f01
Don't HTML escape JSON output
3 years ago
Philip O'Toole
ca7e6e98ff
Stop using deprecated protobuf package
3 years ago
Philip O'Toole
4eeddf455d
Actually return error values
3 years ago
Philip O'Toole
7fc50b7b67
Add "name" support to command parameter
3 years ago
Philip O'Toole
e78e462ca5
ABL
3 years ago
Philip O'Toole
5f7fd348d1
Add missing comment
3 years ago
Philip O'Toole
dfffc6abee
Command pretty JSON encoding support
3 years ago
Philip O'Toole
0cbf96399a
Add JSON support for new Protobuf types
3 years ago
Philip O'Toole
a78321ab40
Add Protobuf Query and Execute return types
3 years ago
Philip O'Toole
f939d33fe5
Remove Metadata concept from system
...
System testing passes.
3 years ago
Philip O'Toole
3b86b9c598
100 test loops is sufficient
...
Otherwise testing takes too long on CI.
3 years ago
Philip O'Toole
97e97bb802
Reduce number of concurrent tests
3 years ago
Philip O'Toole
ebe86e9f0f
Remove superfluous blank line
3 years ago
Philip O'Toole
d02695126c
Ensure concurrent compression is OK
...
Don't let https://github.com/rqlite/rqlite/issues/781 happen again.
3 years ago
Philip O'Toole
6e9c07b1bb
Simpler creation of GZIP writer
3 years ago
Philip O'Toole
5d9e55f312
Better error messages during gzip
3 years ago
Philip O'Toole
1df8728130
Create GZIP writer for every compress request
...
The GZIP writer was being shared -- incorrectly -- by multiple HTTP
requests (both queries and executes). But it's not thread safe. Bad,
bad, bad.
https://github.com/rqlite/rqlite/issues/781
3 years ago
Philip O'Toole
7c885d52b9
Better error messages during unmarshal
3 years ago
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