Philip O'Toole
6ab718df2d
Better name
2 years ago
Philip O'Toole
e492c5f5f0
More Backup-forwarding WIP
2 years ago
Philip O'Toole
1049e41b6c
WIP before moving to proto backup model
2 years ago
Philip O'Toole
7ccfbd93b2
Move to top-level use of cluster.Credentials
2 years ago
Philip O'Toole
3afa2ce80a
Stick with simple proto
...
The proto was not well designed in the first place, but it's better to
deal with it as-is, and wait until another major release to fix it.
2 years ago
Neal Harrington
e4a810d7ea
Treat error from rpc response as a first class object, delineate error types a bit, use this data to check auth when forward from http
2 years ago
Neal Harrington
c0b1b6c762
write some tests, make them pass
2 years ago
Neal Harrington
563cbda013
remove some println statements
2 years ago
Neal Harrington
7cceb822a4
First things
2 years ago
Philip O'Toole
d9b2e0b2fa
WIP creds forwarding
2 years ago
Philip O'Toole
44230c98b5
Allow configurable cluster-connect timeout
...
Fixes https://github.com/rqlite/rqlite/issues/1042
2 years ago
Philip O'Toole
1cc0a40274
More fixes for https://github.com/rqlite/rqlite/issues/1029
2 years ago
Philip O'Toole
569ff39bac
Handle more connection errors
...
Fix https://github.com/rqlite/rqlite/issues/1029
2 years ago
Philip O'Toole
e5a8a209e0
Don't resolve any addresses
...
This makes working with systems like Kubernetes difficult. rqlite should
probably never have worked liked this. If IP addresses are still
perferred they can be passed in explicitly as command line arguments.
3 years ago
Philip O'Toole
ca7e6e98ff
Stop using deprecated protobuf package
3 years ago
chermehdi
3bfcbffc37
Fix typos and Grammar issues
3 years ago
Philip O'Toole
1fe335869d
Unit test increased cluster response size
3 years ago
Philip O'Toole
6b7318d188
Set missing connection timeouts
3 years ago
Philip O'Toole
955f2302c4
Conn, not PoolConn
...
It's already in the pool package.
3 years ago
Philip O'Toole
38d5fc42b0
Add timeout control to GetNodeAPIAddr
3 years ago
Philip O'Toole
9aecafedbe
Cluster client resolves advertised local address
...
Also, improve HTTP stats.
3 years ago
Philip O'Toole
a8d436e944
Improve stats
3 years ago
Philip O'Toole
d90ea2e6b1
Service Node API requests locally if possible
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
3a70db5150
Long-lived connections in cluster service
...
Needed now that we're using connection pooling. Unit tests pass.
3 years ago
Philip O'Toole
c8483d2ec5
Use connection pool with Cluster Execute and Query
3 years ago
Philip O'Toole
ac53893673
GetNodeAPI uses connection pool
3 years ago
Philip O'Toole
312e44e57d
Add Connection Pool for GetNodeAPIAddr
3 years ago
Philip O'Toole
25a51534da
Fix comments
3 years ago
Philip O'Toole
6e17295913
Group network-related params together
3 years ago
Philip O'Toole
0b8beb6a5d
Implmenet Request Forwarding timeout support
3 years ago
Philip O'Toole
90a16403ff
Comments
3 years ago
Philip O'Toole
82067cdec1
Client to Service Execute unit test
3 years ago
Philip O'Toole
1ceb59d8f3
Client to Service Execute unit test
3 years ago
Philip O'Toole
d503db616e
Better modeling with oneof
3 years ago
Philip O'Toole
bffce00c26
Add missing client.go
3 years ago