Philip O'Toole
cba9670c77
Support 'key' param on /status endpoint
1 year ago
Philip O'Toole
4a7ac2850f
rqlite doesn't (yet) support WAL mode SQLite data
1 year ago
Philip O'Toole
c23d3e60b1
Reuse existing consistency level
1 year ago
Philip O'Toole
cfd1fed4e8
go fmt
1 year ago
Philip O'Toole
992750d988
Update service.go
1 year ago
Philip O'Toole
333c7daeed
More HTTP instrumentation for failures
1 year ago
Philip O'Toole
6ab6faaca0
Add missing parenthesis
1 year ago
Philip O'Toole
c8c8617e3f
More HTTP-layer instrumentation
1 year ago
Philip O'Toole
a309f94799
Update service.go
1 year ago
Philip O'Toole
5950001490
Update service.go
1 year ago
Philip O'Toole
b1bdb52b9d
Update service.go
1 year ago
Philip O'Toole
7ee6036476
/db/request compiles and all existing tests pass
1 year ago
Philip O'Toole
8b7d3ea1f2
Start coding HTTP layer
1 year ago
Philip O'Toole
92a604c4ec
Move SQLite validity checks to db module
1 year ago
Philip O'Toole
57ca03014b
More integration and testing of Store readiness
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
3e84139290
Default to mutual TLS off for node-to-node
2 years ago
Philip O'Toole
cb1b398f76
ABL
2 years ago
Philip O'Toole
3d31d22de6
Implement -http-verify-client
2 years ago
Philip O'Toole
d8982d044e
Consolidate TLS config creation
2 years ago
Philip O'Toole
de0d0f63ad
Fix HTTP no-verify of client certs
2 years ago
Philip O'Toole
c8231596ac
Use central TLS config creation
2 years ago
Philip O'Toole
05a7663a93
Actually enable HTTP client cert verification
2 years ago
Philip O'Toole
828acadb0c
Move HTTP TLS testing to own file
2 years ago
Philip O'Toole
08fe787c0a
More queued write counters
2 years ago
Philip O'Toole
f6eefd1690
Close HTTP service on shutdown
2 years ago
Philip O'Toole
70ea78fd6c
More Queued Writes instrumentation
2 years ago
Philip O'Toole
8fd877b1d6
Fix typo in expvar variable name
2 years ago
Philip O'Toole
0702e39ace
Add ResetStats
2 years ago
Philip O'Toole
0b8fde1dfb
Log node address
2 years ago
Philip O'Toole
4b5987a085
Fix logic
2 years ago
Philip O'Toole
cf3fa8eedb
Clearer runQueue logic
2 years ago
Philip O'Toole
1877bcc7ff
Support keyed fetches of expvar information
2 years ago
Philip O'Toole
98575d727b
Start adding remote remove node
...
More testing, including unit testing, required.
2 years ago
Philip O'Toole
f9b46165f9
Comments
2 years ago
Philip O'Toole
9c68b13868
Better error from /nodes when Store is not open
2 years ago
Philip O'Toole
3a261ce16e
Unit test remote load error handling
2 years ago
Philip O'Toole
d6b8390658
Handle remote backup errors correctly
2 years ago
Philip O'Toole
65cd556549
Fix remote-load error handling
...
Error from remote node was being dropped.
2 years ago
Philip O'Toole
5f33bffa0f
More logging and resolution checks
2 years ago
Philip O'Toole
06e098e41a
Mostly better logging
2 years ago
Philip O'Toole
eee9541545
Merge remote-tracking branch 'origin' into resolve-notifier
2 years ago
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.
2 years ago
Philip O'Toole
9d9ffba7e2
Restoring via follower should have same response
2 years ago
Philip O'Toole
27587634c6
Hook in HTTP layer
2 years ago
Philip O'Toole
8a69aa53aa
HTTP-level unit testing of remote backup
2 years ago
Philip O'Toole
31bba4c577
Move to Backup proto model
2 years ago
Philip O'Toole
2d762202b3
Flatten some if blocks
2 years ago
Philip O'Toole
95dfead226
Integrate SQL rewrite with rqlite for RANDOM ( #1046 )
2 years ago
Philip O'Toole
7ccfbd93b2
Move to top-level use of cluster.Credentials
2 years ago
Philip O'Toole
01c78ea8d0
Better remote auth fail HTTP messages
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
19740954f6
Handle http responses for unauthorized in the same way as is currently done
2 years ago
Neal Harrington
79f631f6f0
Handle case where error is nil properly
2 years ago
Neal Harrington
2226083273
Implement handling of error unauthorized by client forwarding request to remote tcp service. Bubble this up as a 401 to the caller
2 years ago
Neal Harrington
7cceb822a4
First things
2 years ago
Philip O'Toole
ae1f9b464f
No magic strings
2 years ago
Philip O'Toole
d9b2e0b2fa
WIP creds forwarding
2 years ago
Philip O'Toole
b703bc26ce
Unit test read-only join permission enforcement
2 years ago
Philip O'Toole
c59adee7cb
Add Read-only join permission
2 years ago
Philip O'Toole
0928d3ecad
Interfaces have to be checked for nil
2 years ago
Philip O'Toole
d289da5feb
Refactor auth checking
2 years ago
Philip O'Toole
288d97b241
Move Perm constants to auth package
...
Makes it cleaner to re-use them outside of HTTP package.
2 years ago
Philip O'Toole
17a159cb88
Remove unnecessary interface call
2 years ago
Philip O'Toole
d3bf2d719e
Use a single Response type for HTTP
2 years ago
Philip O'Toole
bfe4f7fe68
Count number of queued waits
2 years ago
Philip O'Toole
53f44f47e6
More testing
2 years ago
Philip O'Toole
71b0a5a3bf
Support statement-less queue waits
2 years ago
Philip O'Toole
05df9fa015
Fix lint issue
2 years ago
Philip O'Toole
ecb640abff
Check that queue and transactions work
2 years ago
Philip O'Toole
a7f5bafaca
Track queue sequence number at HTTP layer
2 years ago
Philip O'Toole
0b47dff0b0
Godoc comments
2 years ago
Philip O'Toole
3cfdc8b689
Support "wait" param on queued writes
2 years ago
Philip O'Toole
64f7e05b0e
Support transactions from write queue
2 years ago
Philip O'Toole
5e24af2636
Better API shape for queued Executes
2 years ago
Philip O'Toole
5d047e7236
Fix copy 'n' paste errors
2 years ago
Philip O'Toole
00874ebb44
Add queue stats
2 years ago
Philip O'Toole
523f11ac0f
Fix more races
2 years ago
Philip O'Toole
5c7aeda86b
Cluster-level test of queued writes
2 years ago
Philip O'Toole
78657d1ce1
Fix race
2 years ago
Philip O'Toole
0e7f2bced3
Don't close closed channels
2 years ago
Philip O'Toole
5e9cf86de8
Main queue configurable
2 years ago
Philip O'Toole
88ec76398c
More robust HTTP shutdown
2 years ago
Philip O'Toole
13b1444a8d
Configurable queue
2 years ago
Philip O'Toole
02b8776c29
Start hooking in queuing to HTTP layer
2 years ago
Philip O'Toole
e03cfd836d
Add Queue to HTTP layer
2 years ago
Philip O'Toole
fd2eabc55d
Check length of SQLite file before offsetting
2 years ago
Philip O'Toole
a6ac6bccfc
Autodetect data format during load operation
2 years ago
Philip O'Toole
c8b9fd72da
Sanity check supplied SQLite data
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
2dcf0169b3
Count number of /readyz and /status
3 years ago
Philip O'Toole
33a69c8485
Merge branch 'master' of github.com:rqlite/rqlite into noleader-readyz
3 years ago
Philip O'Toole
2a87de9b90
/readyz can skip leader check
3 years ago
Philip O'Toole
cf2ad114fe
Add current time to status output
3 years ago
Philip O'Toole
4c597e4f02
Better ready response
3 years ago
Philip O'Toole
e4a0a5ecca
Possible help for racy (?) end-to-end test
3 years ago
Philip O'Toole
e4fed0cee3
Add bootstrap-expect ( #974 )
...
Add cluster-boostrap
3 years ago