JT Archie
6503ffac89
provide a timeout on http client
...
When using the `rqlite` CLI, I was unable to determine an issue of connection.
It turns out that the arugments I had provided were not working.
The issue did not present itself till I added a timeout to the HTTP client.
12 months ago
Philip O'Toole
2c870f16c7
Better logging of trailing flags
1 year ago
Philip O'Toole
414b198199
Better name for auto-restore temp
1 year ago
Philip O'Toole
8ac4bb51e2
load testing idempotency
1 year ago
Philip O'Toole
fbd6c3d987
Merge remote-tracking branch 'origin' into remove-ott-compression-controls
1 year ago
Philip O'Toole
e050b9d05f
Always-on expvar and pprof
1 year ago
Philip O'Toole
f697eb1aec
Increase compression-check thresholds
...
I reckon they are too low, and the snapshots will be compressed when
transmitted between nodes.
1 year ago
Philip O'Toole
71d404f628
Update flags.go
1 year ago
Philip O'Toole
b931e387be
First pass at removing in-memory support
1 year ago
Philip O'Toole
84b78482b9
Bump the version to 8
1 year ago
Philip O'Toole
5df129ff20
Remove no-longer supported command-line options
1 year ago
Philip O'Toole
b7ea9ea096
Update main.go
1 year ago
Philip O'Toole
21dff4a68c
Remove on-disk-startup control
...
With the move to WAL and "synchronous mode" to OFF, on-disk startup
times are very close to in-memory. There is no need for this control
anymore and it complicates the start-up code.
1 year ago
Philip O'Toole
e5e8d19a71
End-to-end testing of 5-node bootstrapping
1 year ago
Philip O'Toole
ee3cd369a9
Update flags.go
1 year ago
Philip O'Toole
896a6530c6
Check for errors when performing requests
1 year ago
Philip O'Toole
3592bae314
Add /readyz to sysdump
1 year ago
Philip O'Toole
b03a5ffc96
.sysdump retrieves info from all nodes
1 year ago
Philip O'Toole
c8fcd90f38
Improve rqlited help
1 year ago
Philip O'Toole
787ee124cb
Bootstrap and join if requested
...
Probably the fix for https://github.com/rqlite/rqlite/issues/1290
This logic was always too conservative, bootstrapping will do a join first, which is fine.
1 year ago
Philip O'Toole
50ce83e8f2
More checking of passed-in addresses
1 year ago
Philip O'Toole
95f91786b2
Remove useless comment
1 year ago
Philip O'Toole
f3faf00f6c
Proceed with DNS even if pre-existing state
...
May be solution to https://github.com/rqlite/rqlite/issues/1247 .
1 year ago
Philip O'Toole
f6b0cdb747
Refactor node self-removal
...
Still needs unit tests.
1 year ago
Philip O'Toole
8244b141cb
Check self-removal changes cluster config
1 year ago
Philip O'Toole
40d6b698b9
Reduce timeout for self-remove
...
Add a unit test too.
1 year ago
Philip O'Toole
1bdb84e232
Log that self-removal is beginning
1 year ago
Philip O'Toole
b6e5ae4ec4
Log received signal on shutdown
1 year ago
Philip O'Toole
5b1a9107e9
Add network information to /status
1 year ago
Philip O'Toole
bb2bf8e324
Update main.go
1 year ago
Philip O'Toole
55386982ea
Tighten up shutdown
1 year ago
Philip O'Toole
182d771661
Fix typo in flags
1 year ago
Philip O'Toole
1bea5f2b91
Merge remote-tracking branch 'origin' into remove-on-shutdown
1 year ago
Philip O'Toole
e64d78b809
Support removing self from cluster on shutdown
1 year ago
Philip O'Toole
6acf7eb418
Stop the HTTP server first on shutdown
1 year ago
Philip O'Toole
12f3dd913a
Even better package name
1 year ago
Philip O'Toole
75b0daae64
Better autostate package names
1 year ago
Philip O'Toole
7a699814d5
Refactor autobackup and autorestore
1 year ago
Philip O'Toole
fdc64041ad
Merge branch 'master' of github.com:rqlite/rqlite into s3-custom-endpoint
1 year ago
Philip O'Toole
ea23906180
Add support for custom S3 endpoint
1 year ago
Philip O'Toole
3f38c181ab
Improve log message when continuing
1 year ago
Philip O'Toole
1df3d1fa12
Support continuing on download failure
1 year ago
Philip O'Toole
13fd3b852c
Hook auto-restore download into main
1 year ago
Philip O'Toole
1a66241e6c
Stubbed out download code in main
1 year ago
Philip O'Toole
5ab6ced99f
Walk flags config, checking file existence
1 year ago
Philip O'Toole
e5d70724a4
Can't autorestore and then join a cluster
1 year ago
Philip O'Toole
25889fd0fa
Add path for auto-restore to flags
1 year ago
Philip O'Toole
3b6d235872
Reporting interval was too high
...
Looks the 10x was a debug code.
1 year ago
Philip O'Toole
71aba3d6c9
More simplify
1 year ago
Philip O'Toole
7655725d5d
Try to simplify main
1 year ago
Philip O'Toole
1a2e0a4a45
Add compression support for uploads
1 year ago
Philip O'Toole
dca5631926
Perform variable expansion in auto-backup config
1 year ago
Philip O'Toole
a6445b9874
rqlited help tweaks
1 year ago
Philip O'Toole
26575f3c60
Revert "RegisterStatus can now remove key"
...
This reverts commit bc9bf2df5a
.
1 year ago
Philip O'Toole
bc9bf2df5a
RegisterStatus can now remove key
1 year ago
Philip O'Toole
b66720a5bd
Integrate auto-backup into main program
1 year ago
Philip O'Toole
3ca9f23225
Add auto-backup command line option
1 year ago
Philip O'Toole
455dd7d01c
Factor out creating joiner
1 year ago
Philip O'Toole
1a25f0f713
Minor GPT4 fixes
1 year ago
Maxim Philippov
d582da3c73
Fixed credentials load error checking
1 year ago
Philip O'Toole
4bb806c8c0
Merge pull request #1198 from rqlite/otoolep-patch-3
...
Update execute.go
1 year ago
Philip O'Toole
5fd3edfa90
ABL
1 year ago
Philip O'Toole
d948512cc8
Update execute.go
1 year ago
Philip O'Toole
34161e01e2
Update query.go
1 year ago
Philip O'Toole
eebdd4e788
ABL - thanks GPT-4
1 year ago
Philip O'Toole
65d0b06676
Prevent non-voting nodes as new, standalone, nodes
2 years ago
Philip O'Toole
0ef374051d
Fix command-line help for x509 resources
2 years ago
Philip O'Toole
3e84139290
Default to mutual TLS off for node-to-node
2 years ago
Philip O'Toole
b79ed46924
Cleaner flags
2 years ago
Philip O'Toole
42adb8951b
ABL
2 years ago
Philip O'Toole
42f0eeedf0
Better node mux logging
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
ec939ec383
More ABL
2 years ago
Philip O'Toole
a601801c6d
ABL
2 years ago
Philip O'Toole
bf22fa5743
Even better variable names
2 years ago
Philip O'Toole
f7946502b4
Clearer variable names for HTTP x509
2 years ago
Philip O'Toole
11ed5731d6
Fix up x509 command-line flags
2 years ago
Philip O'Toole
ba39227c93
Move to a single cert-key pair for nodes
2 years ago
Philip O'Toole
54e649c341
More TLS unit test fixes
2 years ago
Philip O'Toole
de0d0f63ad
Fix HTTP no-verify of client certs
2 years ago
Philip O'Toole
e3698807a0
Update help
2 years ago
Philip O'Toole
673fd8cade
More use of central TLS config
2 years ago
Philip O'Toole
c8231596ac
Use central TLS config creation
2 years ago
Philip O'Toole
cf29dd106a
More flag options
2 years ago
Philip O'Toole
da3079bec9
Better flags help
2 years ago
Philip O'Toole
9e4971bef4
Better error message for "connection refused"
2 years ago
Philip O'Toole
73a6f09a1d
Filter, then dedupe
2 years ago
Philip O'Toole
8acc0d8ff7
Delete history file if RQLITE_HISTFILESIZE is zero ( #1146 )
...
Delete history file if RQLITE_HISTFILESIZE is zero
Fixes https://github.com/rqlite/rqlite/issues/1145 .
2 years ago
Philip O'Toole
4d5174a0c3
Unit test history size
2 years ago
Philip O'Toole
33d754a2bc
Go docs
2 years ago
Philip O'Toole
5e6f46ca99
Integrate history
2 years ago
Philip O'Toole
4951f08209
Windows and !Windows file code
2 years ago
Philip O'Toole
8f9919bbd9
More unit testing
2 years ago
Philip O'Toole
0de3a1cc24
More dedupe unit tests
2 years ago
Philip O'Toole
ddb43b82e5
Create new submodule history
...
Dedupe unit test passes.
2 years ago
Philip O'Toole
fab780a4d5
Handle cntrl-d gracefully
2 years ago
Philip O'Toole
ced80ae8bd
Remove unsuitable logic
2 years ago
Philip O'Toole
defde21281
Merge remote-tracking branch 'origin' into ignore-join-explicit-if-state
2 years ago
Philip O'Toole
f6c4b17a72
Enable "stepdown on shutdown" by default
...
https://github.com/rqlite/rqlite/issues/1132
2 years ago
Philip O'Toole
aa07241033
Merge pull request #1136 from rqlite/graceful-http-shutdown
...
Close HTTP service gracefully on shutdown
2 years ago
Philip O'Toole
4131cdb743
Unit test stepdown on shutdown
2 years ago
Philip O'Toole
f6eefd1690
Close HTTP service on shutdown
2 years ago
Philip O'Toole
77861c17b5
Revert to simpler logging for stepdown
...
New leader is not reported as I expected.
2 years ago
Philip O'Toole
0d8dd2499b
Unit test Store stepdown
2 years ago
Philip O'Toole
3ec7419097
Ignore explicit join if already member of cluster
2 years ago
Philip O'Toole
d821031a2d
go fmt
2 years ago
Philip O'Toole
a2899a1cdd
Support stepping down before shutting down
2 years ago
Philip O'Toole
98575d727b
Start adding remote remove node
...
More testing, including unit testing, required.
2 years ago
Philip O'Toole
bfc35eaf7c
Simplify reap command line flags ( #1118 )
...
Simplify reap command line flags
2 years ago
Philip O'Toole
07620cab41
Reap nodes ( #1114 )
...
Support automatic reaping of nodes
2 years ago
Philip O'Toole
1ed59a1658
Update flags.go
2 years ago
Philip O'Toole
8cf6b92ece
Fix syntax error
2 years ago
Philip O'Toole
11893bbb34
Continue to support "EXIT"
...
Would be a breaking change otherwise.
2 years ago
Philip O'Toole
f52be631ac
Explicitly support .exit in CLI
2 years ago
Philip O'Toole
f7c6ce6696
Bootstrapping doesn't need bootstrap-expect
...
It's the Store object that needs it.
2 years ago
Philip O'Toole
4ab4b08049
Less changes
2 years ago
Philip O'Toole
e158ae8a72
Start HTTP server ASAP
2 years ago
Philip O'Toole
a688d8053d
Log, and add to version output, SQLite release
2 years ago
Philip O'Toole
c8ce78a6e9
Tweak log message
2 years ago
Philip O'Toole
ff6a3cb701
Fix typo in comments
2 years ago
Philip O'Toole
08af993b46
Merge pull request #1058 from rqlite/error-on-unroutable
...
Terminate if any advertised address is unroutable
2 years ago
Philip O'Toole
1ca5ce2cd0
Better error message
2 years ago
Philip O'Toole
8697fcad57
Terminate if any advertised address is unroutable
2 years ago
Neal Harrington
7cceb822a4
First things
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
5668464ce5
rqbench supports queued writes
2 years ago
Philip O'Toole
a357915a3d
Smaller default write queues
2 years ago
Philip O'Toole
b10f911524
Tweak queue defaults
2 years ago
Philip O'Toole
64f7e05b0e
Support transactions from write queue
2 years ago
Philip O'Toole
5e9cf86de8
Main queue configurable
2 years ago
Philip O'Toole
02216c1748
Fix unreachable code logic
2 years ago
Philip O'Toole
e1c31805d0
Add support to CLI for load-from-SQLite files
2 years ago
Philip O'Toole
c47d62376d
Fix logo printing
2 years ago
Philip O'Toole
6f31295a47
Fix linting error detected by AppVeyor
...
https://ci.appveyor.com/project/otoolep/rqlite/builds/43287798
2 years ago
Philip O'Toole
47a1b88a64
More end-to-end node encryption testing
3 years ago
Philip O'Toole
a5f1b7494b
Node TLS mux needs to use advertised Raft address
3 years ago
Philip O'Toole
39fd5759a9
Update flags.go
3 years ago
Philip O'Toole
b774ea05c6
Tweak flags for Kubernetes bootstrapping
3 years ago
Philip O'Toole
b957795e03
go vet
3 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
e1aeb9a664
Refactor join code with Joiner type ( #986 )
...
Refactor join code with Joiner type
3 years ago
Philip O'Toole
5ab4301df4
go mod
3 years ago
Philip O'Toole
f9148b5745
Add support for DNS SRV -based discovery
3 years ago
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.
3 years ago
Philip O'Toole
acbcd5e1cc
Move config validation to object
3 years ago
Philip O'Toole
e4fed0cee3
Add bootstrap-expect ( #974 )
...
Add cluster-boostrap
3 years ago
Philip O'Toole
cd490ffa47
Correct rqlite command line options
3 years ago
Philip O'Toole
c631a77051
Update README.md
3 years ago
Philip O'Toole
1d79db06ec
Update README.md
3 years ago