Philip O'Toole
62e229d266
Improve comments
2022-10-28 16:46:20 -04:00
Philip O'Toole
f7c6ce6696
Bootstrapping doesn't need bootstrap-expect
...
It's the Store object that needs it.
2022-10-28 16:40:40 -04:00
Philip O'Toole
65cd556549
Fix remote-load error handling
...
Error from remote node was being dropped.
2022-10-24 13:29:48 -04:00
Philip O'Toole
ec0750a4c2
Update service.go
2022-10-24 13:01:28 -04:00
Philip O'Toole
e57270d36c
Fix up unit tests
2022-10-24 11:40:31 -04:00
Philip O'Toole
c8d521e628
Fix cluster service with 8-byte lengths
2022-10-24 10:59:37 -04:00
Philip O'Toole
0e44835346
Move to 8-byte proto lengths for cluster comms
...
This is a longstanding issue that needs to be fixed.
2022-10-24 10:37:07 -04:00
Philip O'Toole
dbca70898b
Refactor cluster client
2022-10-24 10:30:52 -04:00
Philip O'Toole
06e098e41a
Mostly better logging
2022-10-23 21:33:03 -04:00
Philip O'Toole
b0f17b86c7
Notified node checks address resolution
...
If a non-resolvable address is passed to the Store, and then Store then
adds that to the config, it can result in a cluster that seems to have
insufficient members (since the remote node can't be contacted). This
may trigger a new leader election.
2022-10-23 20:50:28 -04:00
Philip O'Toole
9ff03d3028
Client-level unit testing of Load
2022-10-22 12:39:33 -04:00
Philip O'Toole
0f140d092e
Merge remote-tracking branch 'origin' into load-forwarding
2022-10-22 12:14:36 -04:00
Philip O'Toole
43e8bbfd95
Remove noisy error from log
2022-10-21 09:26:58 -04:00
Philip O'Toole
44b7eb96a0
Remove extraneous formatter
2022-10-21 09:24:23 -04:00
Philip O'Toole
3bfe2ccdcc
Nicer logging during joining
2022-10-21 09:21:43 -04:00
Philip O'Toole
d2590ca646
Initial proto work for load forwarding
2022-10-20 17:40:39 -04:00
Philip O'Toole
78f3bb13c3
No need to jitter during init
2022-10-20 01:09:34 -04:00
Philip O'Toole
8a69aa53aa
HTTP-level unit testing of remote backup
2022-10-19 23:57:08 -04:00
Philip O'Toole
16a0b41321
Better errors
2022-10-19 23:07:57 -04:00
Philip O'Toole
1827c6eec5
Compress backups before transmission between nodes
2022-10-19 23:04:44 -04:00
Philip O'Toole
34c9914148
WIP -- unit test passing
2022-10-19 22:52:55 -04:00
Philip O'Toole
6ab718df2d
Better name
2022-10-18 23:43:05 -04:00
Philip O'Toole
e492c5f5f0
More Backup-forwarding WIP
2022-10-18 23:41:57 -04:00
Philip O'Toole
1049e41b6c
WIP before moving to proto backup model
2022-10-18 22:40:31 -04:00
Philip O'Toole
1f362a27e9
Shorter boot cycle
...
It's pretty slow on k8s.
2022-10-18 19:37:40 -04:00
Philip O'Toole
045de6fd57
More NO_CREDS use
2022-08-06 16:28:29 -04:00
Philip O'Toole
7ccfbd93b2
Move to top-level use of cluster.Credentials
2022-08-06 16:12:48 -04:00
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.
2022-08-06 13:19:26 -04:00
Neal Harrington
f750f78558
Remove test logs
2022-08-03 23:57:39 -04:00
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
2022-08-03 23:55:47 -04:00
Neal Harrington
c0b1b6c762
write some tests, make them pass
2022-07-27 02:40:15 -04:00
Neal Harrington
563cbda013
remove some println statements
2022-07-25 22:05:18 -04:00
Neal Harrington
8921ee002e
Clean up unncessary conditional. Add explicit auth/ tests for empty credentials/anonymous case
2022-07-25 22:02:28 -04:00
Neal Harrington
7cceb822a4
First things
2022-07-24 18:50:36 -04:00
Philip O'Toole
d9b2e0b2fa
WIP creds forwarding
2022-07-21 08:58:50 -04:00
Philip O'Toole
44230c98b5
Allow configurable cluster-connect timeout
...
Fixes https://github.com/rqlite/rqlite/issues/1042
2022-06-13 09:22:40 -04:00
Philip O'Toole
1cc0a40274
More fixes for https://github.com/rqlite/rqlite/issues/1029
2022-05-22 22:59:17 -04:00
Philip O'Toole
569ff39bac
Handle more connection errors
...
Fix https://github.com/rqlite/rqlite/issues/1029
2022-05-22 08:42:58 -04:00
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.
2022-02-03 22:32:31 -05:00
Philip O'Toole
e1aeb9a664
Refactor join code with Joiner type ( #986 )
...
Refactor join code with Joiner type
2022-01-31 14:04:12 -05:00
Philip O'Toole
bba69d6300
Add support for DNS-based autoclustering ( #979 )
...
New disco-bootstrapping hybrid to autoclustering, which uses DNS A Records to find nodes.
2022-01-30 20:03:36 -05:00
Philip O'Toole
e4fed0cee3
Add bootstrap-expect ( #974 )
...
Add cluster-boostrap
2022-01-28 13:35:49 -05:00
Philip O'Toole
ca7e6e98ff
Stop using deprecated protobuf package
2022-01-20 08:28:20 -05:00
Philip O'Toole
860999951d
Enhance Authentication and Authorization system ( #940 )
2022-01-06 19:56:56 -05:00
chermehdi
3bfcbffc37
Fix typos and Grammar issues
2022-01-04 22:50:49 +00:00
Philip O'Toole
4f92d91a63
Use correct MIME media type for JSON
...
https://www.ietf.org/rfc/rfc4627.txt
https://github.com/rqlite/rqlite/issues/933
2022-01-01 10:34:57 -05:00
Philip O'Toole
1fe335869d
Unit test increased cluster response size
2021-10-20 09:17:27 -04:00
Philip O'Toole
3f039a9b3a
Don't truncate cluster response length
2021-10-20 07:55:14 -04:00
Philip O'Toole
7e81fa88b6
ABL
2021-09-20 23:36:39 -04:00
Philip O'Toole
6b7318d188
Set missing connection timeouts
2021-09-10 09:10:03 -04:00