1
0
Fork 0

168 Commits (d90ea2e6b1082473b94055dbbd904a1186dd9fd2)

Author SHA1 Message Date
Philip O'Toole 132c1809fe Fix race condition 3 years ago
Philip O'Toole 5613edd887 Fix connection pool stats
Also HTTP should read its own Raft address locally.
3 years ago
Philip O'Toole eee3a2e785 Fix code path that could cause panic 3 years ago
Philip O'Toole 6e17295913 Group network-related params together 3 years ago
Philip O'Toole b01b10e4ce Add convenience function for query params 3 years ago
Philip O'Toole 0b8beb6a5d Implmenet Request Forwarding timeout support 3 years ago
Philip O'Toole c017d11c22 Enable transparent request forwarding 3 years ago
Philip O'Toole d20c1ba311 Use correct variables in Query handler 3 years ago
Philip O'Toole 1c6a7b49aa Add support, but disable, request forwarding
Execute and Query only for now.
3 years ago
Philip O'Toole cc7cdb20d7 HTTP expects remote database calls 3 years ago
Philip O'Toole adc39168f2 Test for invalid Response 3 years ago
Philip O'Toole 79ebb9a44a Single-node tests pass 3 years ago
Philip O'Toole fd98114839 HTTP-level testing passes 3 years ago
Philip O'Toole 503825dbaf Remove Abort functionality
No longer relevant since each Exec and Query gets its own connection.
3 years ago
Philip O'Toole edc9f717e4 Always include "reachable" status 3 years ago
Philip O'Toole b6e0f46f30 Support non-voting nodes optionally in nodes/ 3 years ago
Philip O'Toole 58b567c27a Only check non-voting nodes by default 3 years ago
Philip O'Toole a098f677c7 Tweaks and docs 3 years ago
Philip O'Toole 4cff27f91f Fix bugs in Goroutine logic
Testing never fails to produce results.
3 years ago
Philip O'Toole 7218a40ed1 Cluster system test for nodes/
It's failing however.
3 years ago
Philip O'Toole 0cca0dc603 Merge branch 'master' of github.com:rqlite/rqlite into other-node-status 3 years ago
Philip O'Toole dbd1c0a254 Remove 'redirect' from HTTP status
Getting the redirect information requires accessing other nodes, which
could block if those nodes are not up.
3 years ago
Philip O'Toole f4e04e5bc5 Check nodes reachable in parallel 3 years ago
Philip O'Toole 805074f8f5 Start supporting /nodes endpoint 3 years ago
Philip O'Toole f939d33fe5 Remove Metadata concept from system
System testing passes.
3 years ago
Philip O'Toole 2cef5679b7 rqlited starts and stops fine 3 years ago
Philip O'Toole 6a48068d78 Integrate Cluster service with HTTP service 3 years ago
Philip O'Toole f5cbc18a16 Add auth-ok and auth-fail events to stats 4 years ago
Philip O'Toole c4ee9cafd9 Disable TLS v1.0 and v1.1 by default 4 years ago
Philip O'Toole ab2338733c Include more information with HTTP 500 4 years ago
Philip O'Toole f81d7e29d7
Enable http/2.0 support for TLS
As per https://blog.cloudflare.com/exposing-go-on-the-internet/
4 years ago
Philip O'Toole 56cb9321d2 End-to-end test of idempotent join 4 years ago
Philip O'Toole e948d7410a 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 b4867713e4 Better variable name, Query -> SQL 4 years ago
Philip O'Toole 7bb3b8850d Support logging from writeResponse() 4 years ago
Philip O'Toole 76358485a7 Explicitly handle "no leader" during backup 4 years ago
Philip O'Toole ee9f929735 ABL 4 years ago
Philip O'Toole 142180bbe6 Fix load API
It uses plain text, not JSON.
4 years ago
Philip O'Toole ac862e4091 Add system test for parameterized statements
Fix some bugs along the way too.
4 years ago
Philip O'Toole 6e6f12fdd6 HTTP API now supports multi-format
If now supports an array of strings, as before, and also supports arrays
of arrays, where each inner array contains a statement, and parameters
for binding to that statement.
4 years ago
Philip O'Toole bbc8681b4d Fix variable naming 4 years ago
Philip O'Toole 0d85f00b63 Test LeaderAPIAddr and LeaderAPIProto
To do this these functions needed to be made public.
4 years ago
Philip O'Toole 031fcbbde1 Correct comment 4 years ago
Philip O'Toole fbdbee3e25 Include API proto in node meta 4 years ago
Philip O'Toole c6419cc62e Check local HTTPS cert to enable HTTPS redirect
This assumes that if this node is using HTTPS, then all other nodes are.
This is required as per the documentation.
4 years ago
Philip O'Toole 188981005f Split out Queryable interface at Service level 4 years ago
Philip O'Toole e073a5f54f Fix comment 5 years ago
Philip O'Toole cb0f88a022
Factor out credential check (#624) 5 years ago
Philip O'Toole abb7772105 Support leader freshness with None consistency
This change allows the read request to specify the maximum time the node
receiving the request may have last heard from the cluster leader. It
only applies to a read consistency selection of None.
5 years ago