1
0
Fork 0

104 Commits (master)

Author SHA1 Message Date
Philip O'Toole f2850e724d Add new type core to this work 1 year ago
Philip O'Toole b425d0f8e1 Can't use sync since the buf escapes 1 year ago
Philip O'Toole 3f05fb8f32 More Chat GPT 4 improvements 1 year ago
Philip O'Toole 95a689b3cf Some improvements thanks to ChatGPT 4 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 d55710692c go mod updates 2 years ago
Philip O'Toole 07d2ba01e4 go mod updates 2 years ago
Philip O'Toole 2005d94ad7 go mod updates 2 years ago
Philip O'Toole 98575d727b Start adding remote remove node
More testing, including unit testing, required.
2 years ago
Philip O'Toole 6635010b42 Test error handling 2 years ago
Philip O'Toole f9b46165f9 Comments 2 years ago
Philip O'Toole 0071867e34 Don't call t.Fatal() from goroutine
It wouldn't abort the test anyway, so just log.
2 years ago
Philip O'Toole 31bba4c577 Move to Backup proto model 2 years ago
Philip O'Toole ba6234fe54 Add unit test which should not (now) panic 2 years ago
Philip O'Toole 95dfead226
Integrate SQL rewrite with rqlite for RANDOM (#1046) 2 years ago
Philip O'Toole ce4cc52823 Simpler LoadRequest marshaling 2 years ago
Philip O'Toole 0aabfbff6a Use compression for LoadRequest marshalling 2 years ago
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