Philip O'Toole
da35c62024
Support fetching /readyz via CLI ( #921 )
...
* Support fetching /readyz via CLI
* Update CHANGELOG
3 years ago
Philip O'Toole
0b621cbec8
More logging tweaks
3 years ago
Philip O'Toole
2e7bf1c881
Even friendlier log message when start-up is done
3 years ago
Philip O'Toole
38a16849ca
Record compiler in logs and status
3 years ago
Philip O'Toole
25f4c70d04
Update URL in logog
3 years ago
Philip O'Toole
cdd83ce9e9
Start the HTTP server before doing any joins
...
There is no point waiting for join operations to complete before
starting the HTTP server. In the event the join fails it just introduces
delays due to join-retrys. The HTTP API service is meant to be robust in
the face of a non-ready underlying Store anyway.
3 years ago
Philip O'Toole
dd71c07c73
ABL
3 years ago
Philip O'Toole
add544a2a8
Update README.md
3 years ago
Philip O'Toole
1ea29e108a
Exit if on-disk-path is set, but on-disk is not
3 years ago
Philip O'Toole
7e85cab80d
CLI supports setting read consistency level
3 years ago
Philip O'Toole
9965f520a8
Add a performance-related guide
3 years ago
Philip O'Toole
105a894fe5
Support explicit SQLite path at Store level
3 years ago
Philip O'Toole
81a234abd0
Command line option for SQLite on-disk file path
3 years ago
Philip O'Toole
661be97ca7
Update simple load test
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
3ff1b7092a
Merge branch 'master' of github.com:rqlite/rqlite
3 years ago
Philip O'Toole
f71bfd183d
Update CHANGELOG
3 years ago
Philip O'Toole
f1a7e7e8ec
Use locally-enabled cluster client in HTTP service
3 years ago
Philip O'Toole
a4638ad514
Set Raft Adv once and for all
3 years ago
Philip O'Toole
071112aef7
Pass Store to Cluster service
3 years ago
Philip O'Toole
796ef147f7
Hook in explicit Cluster Dialer
3 years ago
Philip O'Toole
b87554065e
Fix SELECT in CLI
...
Fixes https://github.com/rqlite/rqlite/issues/854 .
3 years ago
Philip O'Toole
606b45051b
Fix help typo
3 years ago
Philip O'Toole
70d174f276
Merge branch 'master' of github.com:rqlite/rqlite into fk-cli
3 years ago
Philip O'Toole
9ed32972b1
Start adding FK option support
3 years ago
Philip O'Toole
e1e239888a
CLI supports PRAGMA directives
...
Add a doc about rqlite and PRAGMA.
3 years ago
Philip O'Toole
eeeb53e5ee
Add trivial rqbench-based load test
3 years ago
Philip O'Toole
47ee6dd75f
Fix up import ordering
3 years ago
Philip O'Toole
b8d72f3fc4
New DB and FSM indexes to track state
3 years ago
Philip O'Toole
e0da96dd55
Remove support for specifying SQLite DSN
...
This is a breaking change. However this feature hasn't been tested and
allows end-users to break the system too easily. Low-level control over
the SQLite database is better done with PRAGMA commands where possible.
3 years ago
Philip O'Toole
f0f8bf0388
Change what-was too noisy logging
3 years ago
Philip O'Toole
4591e2df35
Don't ignore -join even if previous state exists
3 years ago
Philip O'Toole
232449b113
Correct help text for -node-id
3 years ago
Philip O'Toole
4c43049f9c
Start cluster service as early as possible
3 years ago
Philip O'Toole
585a204f8b
Add more startup logging
3 years ago
Philip O'Toole
372e001ea1
CHANGELOG
3 years ago
Philip O'Toole
8a2a192386
Add -v option to CLI
3 years ago
Philip O'Toole
46f2772e2b
Fix linker flags
3 years ago
Philip O'Toole
088a06bfc9
Try simple way to share build information
3 years ago
Philip O'Toole
37c5e4532d
Add 10 second timeout for sysdump GETs
3 years ago
Philip O'Toole
2fd1a84f55
Fetch sysdump from connected node
3 years ago
Philip O'Toole
91a0db2435
Start hooking in .sysdump command
3 years ago
Philip O'Toole
f3ee5d0fee
Add rqlite support for '.nodes' command
3 years ago
Philip O'Toole
697132a6ee
Remove metadata from Join operations
...
It's no longer needed.
3 years ago
Philip O'Toole
0d533dfa4c
Some cleanup
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
30d4d63ebb
System tests pass
3 years ago
Philip O'Toole
38b2abca84
Remove older TCP transport code
...
Still unclear about whether tn.Open() is required with new mux.
3 years ago
Philip O'Toole
d237a13a59
Use muxed connection for Raft internode comms
3 years ago
Philip O'Toole
98a7b3d30e
Minor cleanup for mux code
3 years ago
Philip O'Toole
662daa74cb
Add CA cert support which was erroneously removed
...
This was clearly a mistake due to a previous code change.
3 years ago
Philip O'Toole
2a55f98af7
Tweak help message for source IP
...
https://github.com/rqlite/rqlite/issues/774
4 years ago
osxlinux
03e616d1f7
fix: Optimize the Conversation from O\'Toole
4 years ago
osxlinux
3ba5e31fb2
feat: Support to specify the source IP when you are in a complex network environment
4 years ago
Philip O'Toole
2c52d9726c
Log launch command
4 years ago
Philip O'Toole
c782b43f2d
Build on-disk databases in-memory first
...
With this change, rqlite nodes running in "on-disk" mode build the database in memory first, and move it to the disk just before the Raft system starts. This means that on-disk nodes now initialize almost as quickly as in-memory nodes.
4 years ago
Philip O'Toole
c4ee9cafd9
Disable TLS v1.0 and v1.1 by default
4 years ago
Philip O'Toole
3ff1c35998
Add oneshot option to rqbench
4 years ago
Philip O'Toole
5295a0e6b1
Trivial cleanups
4 years ago
Philip O'Toole
b27cdfbf4d
Better control over waiting for leader
4 years ago
Philip O'Toole
6670a22850
Actually check error codes during Store startup
...
This was a bug.
4 years ago
Philip O'Toole
f07c3673c5
Log at start-up first and last Raft log indexes
4 years ago
Philip O'Toole
09931f8338
rqlite dumps rqlite node version at startup
4 years ago
Philip O'Toole
499df692be
Exit if arguments are passed after data directory
...
Fixes issue #718 .
4 years ago
Philip O'Toole
a40338b113
Tweak log output
4 years ago
Philip O'Toole
d5322a1909
Ignore join request if node already part of cluster ( #711 )
...
rqlite used to work like this, but suffered a regression due to a change in how Hashicorp Raft worked. The manner it changed in was not public, so relying on it was always fragile.
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
29b73cdf63
Add rqbench README
4 years ago
Philip O'Toole
5f4ec0c607
Support both execute and query benchmarking
4 years ago
Philip O'Toole
c48c3cbe9b
Pass path to HTTP tester
4 years ago
Philip O'Toole
73ea4b9424
Remove unneeded :
4 years ago
Philip O'Toole
ac5fb55301
Display HTTP response body on 503
4 years ago
Philip O'Toole
b6ebdf3ab1
Support setting Leader Lease timeout
4 years ago
Philip O'Toole
d47c290cda
Restore request should re-read file every attempt
...
It can now handle HTTP 301 redirects properly.
4 years ago
Philip O'Toole
9482741afa
Set BasicAuth when needed during restore
4 years ago
Philip O'Toole
0f3010f15c
Add missing calls to set BasicAuth
4 years ago
Philip O'Toole
fbdbee3e25
Include API proto in node meta
4 years ago
Philip O'Toole
3f0182c8e8
Make num join attempts and interval configurable
4 years ago
Philip O'Toole
aa2467b29d
Print help in alpha order
5 years ago
Philip O'Toole
ad1557664a
Add support to CLI for node removal
5 years ago
Philip O'Toole
487c0e3f8c
Set Snapshot Interval to non-zero value
...
Snapshotting was *never* functional due to the zero interval value.
5 years ago
Philip O'Toole
5bf8fc2d43
Fix formatting
5 years ago
Philip O'Toole
887530db26
Correct package godoc for rqbench
5 years ago
Philip O'Toole
536cac4fdf
Allow log level control for Raft module
...
Default log level is INFO.
5 years ago
Philip O'Toole
668720cbb6
Remove obsolete SQLite const
5 years ago
Philip O'Toole
ef44c199aa
Update main.go
5 years ago
Philip O'Toole
cc65e36fcc
Remove obsolete const
5 years ago
Philip O'Toole
81f5f6faf1
Add support for non-voting nodes
...
A non-voting node doesn't participate in Raft consensus, but does
subscribe to the committed log entries originating with the leader.
This means a non-voting node keeps up-to-date with the state machine,
without impacting write-latency. These non-voting nodes can provide
read scalability for the cluster.
5 years ago
Philip O'Toole
8ecf84a42b
Reset strings reader every execute loop
5 years ago
Philip O'Toole
99ac2353b3
Simplify rqlite implementation
...
This results in significant duplicated code, but is easier to follow.
The previous code was buggy when it came to redirection handling.
Longer term tool needs to be rebuilt to use a proper Go SQL-compliant
package (yet to be written).
5 years ago
Philip O'Toole
68271534ed
Merge pull request #608 from rqlite/features_status
...
Add features list to status output
5 years ago
Philip O'Toole
3b9aca29c2
Add features list to status output
...
This will make it easier for client libraries to check for features in a given server, in a standard way.
5 years ago
Philip O'Toole
9ab39b7b29
Read, and close, response body ASAP
5 years ago
Philip O'Toole
959d280c49
rqlite CLI explicitly checks for HTTP 200
5 years ago
Philip O'Toole
f57ace7da2
Broadcast Store meta via standard consensus
...
With this change the cluster metadata (arbitrary key-value data associated with each node) is now broadcast across the cluster using the standard consensus mechanism. Specifically the use case for this metadata is to allow all nodes know the HTTP API address of all other nodes, for the purpose of redirecting requests to the leader.
This change removed the need for multiplexing two logical connections
over the single Raft TCP connection, which greatly simplifies the
networking code generally.
Original PR https://github.com/rqlite/rqlite/pull/434
5 years ago
Philip O'Toole
853133ecb2
By default use Raft network address as node ID
5 years ago
Philip O'Toole
8a0e1ce8f0
Move to Hashicorp Raft v1
5 years ago
Philip O'Toole
6213f5d604
Print Welcome message in CLI
5 years ago