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
Philip O'Toole
70fec8fb1f
Add HTTP proxy (from environment) support
...
Port PR573.
5 years ago
Philip O'Toole
76975f96fe
Add .dump to CLI
5 years ago
Philip O'Toole
ff0d5d1d39
Add restore command to CLI
...
Port of PR450.
5 years ago
Philip O'Toole
7ac47a1571
CLI now supports history
...
Port of PR527.
5 years ago
Philip O'Toole
ea8d568406
Commit new file
5 years ago
Philip O'Toole
7a81104082
Support backups from CLI
...
Port PR436.
5 years ago
Philip O'Toole
ec593fe8d5
Support showing timings in the CLI
...
Port of https://github.com/rqlite/rqlite/pull/414
5 years ago
Philip O'Toole
1d8417de74
Add support for BasicAuth to CLI
...
Port PR406 to v4.
5 years ago
Philip O'Toole
9499a7f92d
Revert changes to Disco client
5 years ago
Philip O'Toole
de379a883c
When joining try HTTPS if HTTP fails
5 years ago
Zac Medico
f01e6b1b0a
Server -http-ca-cert and -node-ca-cert options
...
The -http-ca-cert and -node-ca-cert options allow the user to specify
trusted X.509 root CA certificates as an alternative to the
-http-no-verify and -node-no-verify options. This behavior is analogous
to the rqlite client -ca-cert option.
5 years ago
Philip O'Toole
8336150318
Merge pull request #551 from zmedico/client-ca-cert-option-4.3.0
...
Add rqlite -ca-cert option to specify trusted root CA certificate
5 years ago
Zac Medico
936ab69ba9
Add rqlite -ca-cert option to specify trusted root CA certificate
...
The -ca-cert option allows the user to specify a trusted X.509 root CA
certificate as an alternative to the --insecure option.
5 years ago
Philip O'Toole
2e91858e1e
Allow Raft election timeout to be set
6 years ago
Philip O'Toole
6937a377ae
Allow control of shutdown-on-remove
...
Defaults to leaving Raft run if the node is removed.
6 years ago
Philip O Toole
c1e1509b93
Correct rqlite GoDoc
7 years ago
Philip O Toole
fb3cc19680
More GoDoc
7 years ago
Philip O Toole
6bbdc88c1d
ABL
...
Always be linting.
7 years ago
Philip O Toole
9f32f026e2
More informative output during load testing
7 years ago
Philip O'Toole
6e4082ad45
Simple INSERT-only benchmarking tool
7 years ago
Philip O'Toole
4dbe5c1fae
CLI doesn't need to send indented JSON
7 years ago
Philip O Toole
0fe34905ff
CLI checks for HTTP 401
...
The CLI doesn't yet support passing authentication credentials, but this change means the user will know what is happening.
7 years ago
Philip O Toole
0ab2922ffd
CLI package seems to be adding extra space now
7 years ago
Philip O Toole
3fcc5d36f6
Refactor credential store instantiation
...
This will make it easier for other services to use the credential store.
7 years ago
Philip O'Toole
0b08aa52c7
Update main.go
7 years ago
Philip O'Toole
d4e0764315
Add .expvar to CLI help output
7 years ago
Philip O'Toole
defbdc78d6
Support fetching expvar info via CLI
7 years ago
Philip O'Toole
aa998db89e
More GoDoc
7 years ago
Philip O'Toole
d1fb732e6e
CLI doesn't need pretty responses nor timings
7 years ago
Philip O'Toole
6f019e549a
Add in-CLI help
7 years ago
Philip O'Toole
7c1d23fae3
STATUS command shouldn't redirect
...
Return status of "connected" node.
7 years ago
Philip O'Toole
d5e810f319
Correct CLI README
7 years ago