1
0
Fork 0

94 Commits (53d7a598e2932dfb642b2ec2fd2bb7455ba0aea8)

Author SHA1 Message Date
Tycho Andersen 326ca757d7 add an API for using custom raft.PeerStore/log.Logger
This is useful in case the server needs to store other metadata (e.g. auth
data) along side the peer list.

The logging bit is handy in case something has its own logging framework
that it wants to use.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Philip O'Toole 1491f17eda Update README.md 8 years ago
Philip O'Toole a122b26050 Update README.md 8 years ago
Philip O'Toole b9112d60b4 Update README.md 8 years ago
Philip O'Toole 334e67cd99 Tweak help output for latest rqlite commands 8 years ago
Philip O'Toole 080a8e2a3d Merge pull request #232 from tych0/add-rqlite-flexibility
Add rqlite flexibility
8 years ago
Tycho Andersen a73b597d4f cmd: add an --insecure flag to rqlite
This can be used to test against servers which don't have verifiable https
certs.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Tycho Andersen 86bb3c46e5 cmd: add --prefix option to rqlite
If e.g. rqlite is embedded in some other HTTP engine via forwarding or
something, it might not be at /; let's allow the client to talk to rqlite
in this case.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Philip O'Toole 39ebf50cb7 Remove explicit control of FK constraints
It's not clear whether it's the right thing to do, and FK constraints
can still be controlled via PRAGMA commands.
8 years ago
Philip O Toole c691b04dca Tweak usage output 8 years ago
Philip O'Toole 4cf39b626e Tweak logo 8 years ago
Philip O'Toole d7833c66c4 Set build variables default at declaration time 8 years ago
Philip O'Toole 9ad9c593fb Remove unreachable code 8 years ago
Philip O'Toole aa599a34e3 Use HTTP status codes, not magic numbers 8 years ago
Philip O'Toole 4a74e439e5 Join redirects now fully functional 8 years ago
Philip O Toole e11aa14b6e Support memory profiling 8 years ago
Philip O'Toole c40fff4d46 Support controlling FK constraints at startup
This was possible previously, but would need to be set everytime on
startup via the API. This change allows it to set at startup AND enables
foreign constraint checking by default.
8 years ago
Philip O Toole bbad422f37 Tweak CLI help usage 8 years ago
Philip O'Toole b77130aa2c CLI now handles no rows correctly 8 years ago
Philip O'Toole 5ff3a885e7 CLI follows 301 redirect 8 years ago
Philip O'Toole 2982058a81 Support setting Raft heartbeat timeout 8 years ago
Philip O'Toole 8a05236768 Support configurable snapshot thresholds 8 years ago
Philip O'Toole 6f4814a4c3 Support pprof information over HTTP 8 years ago
Philip O'Toole 786a8b0464 Used resolved address when joining
It seems Hashicorp Raft only works in IP addresses, and joining with a
hostname caused the remove logic to cause all nodes to leave when one
node was instructed to leave.
8 years ago
Philip O'Toole 8975a4744d Dump full body on join error 8 years ago
Philip O'Toole 2c334d4f93 Allow SELECT-verification to be disabled
This is not recommended as it leaves the system vulnerable to changes
via the "query" endpoint.
8 years ago
mkideal 050a9bbe0b fix bug for rqlite-cli query: results should be a slice instead of array 9 years ago
Philip O'Toole a6c7f5dc15 Merge pull request #122 from rqlite/rqlite_cli_rqlite
Handle error correctly from 'execute'
9 years ago
Philip O Toole 867cff7ab4 Handle error correctly from 'execute' 9 years ago
Philip O'Toole 6ee83d2e2a Update README.md 9 years ago
Philip O Toole e7879143f1 Prettier output after 'execute' 9 years ago
Philip O Toole b74ebaa555 No need for CLI to request pretty JSON 9 years ago
Philip O Toole 157b2926a8 Just call the rqlite CLI 'rqlite'
This follows the pattern of MySQL.
9 years ago
mkideal 898f7b815e impl rqlite-cli 9 years ago
Philip O'Toole 1c6ef1d84f Use Raft advertise address, if exists, during join 9 years ago
Philip O Toole 4a5402fc9a Allow HTTP advertise address to be set 9 years ago
Philip O'Toole f16b6ba55b Allow Raft address advertise (#115)
* Use resolved Raft address as API peer key

* Allow Raft advertise address to be set

* Better log message for mux

* CHANGELOG updates

* Unit test mux layer address advertise
9 years ago
Philip O'Toole c1e2ab90e4 Switch to in-mem database by default (#113)
With low-latency networks, this results in a noticeable performance
increase.
9 years ago
Philip O'Toole f115f6fbef Version is now 3 9 years ago
Philip O'Toole a35b877ba6 Publish peer before starting http service
This ensures the node is not accessible until it's completed its housework.
9 years ago
Philip O'Toole 78f652fcc2 Enable leader redirection
Not quite complete.
9 years ago
Philip O'Toole 3c02cbdc53 Actually start mux 9 years ago
Philip O'Toole fac48629bc Start initial integration of mux (#109)
Integrate TCP mux with cluster and store

This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O Toole 5aefda9983 Move to new rqlite org 9 years ago
Philip O'Toole e8c92e088c Don't join unless actually necessary 9 years ago
Philip O'Toole 888e80294d Actually close response body 9 years ago
Philip O'Toole 58ba3463b5 Always close response body during join 9 years ago
Philip O'Toole fb5e3c99d3 Bring system-testing into line with new DB layer 9 years ago
Philip O Toole 75ee23bdd9 Move URL normalization to http package
This function may be useful for leader-redirection.
9 years ago
Philip O Toole 659be46190 Add build time to status output 9 years ago