1
0
Fork 0

548 Commits (master)

Author SHA1 Message Date
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
Philip O Toole 59cddcc2f7 Correctly indicate no auth enabled 9 years ago
Philip O'Toole 7fd7a9a385 Finish multi-node cluster testing 9 years ago
Philip O'Toole 4c36f8345c Create standalone auth module 9 years ago
Philip O Toole dce5e33016 Display logo on startup 9 years ago
Philip O Toole f94a10424c Check for failing auth on join 9 years ago
Philip O'Toole c1ad8c8ec1 Allow auth config to be set at command line 9 years ago
Philip O'Toole 3ccb97c98b Merge pull request #84 from otoolep/https_support
Add HTTPS support to API
9 years ago
Philip O'Toole 5fb2b0a658 Less precise version 9 years ago
Philip O'Toole 43195b37cd Allow node to accept insecure X.509 certs 9 years ago
Philip O'Toole f23cd8ef9c Support HTTPS API
API can now be secured with X.509 certficate and key.
9 years ago
Philip O'Toole aee03269db Tweak help output for -join 9 years ago
Philip O Toole 6cb929954b Trivial cleanup of main code 9 years ago
Philip O Toole 7d8980878b Allow join address with protocol
This is part of the work for issue #82.
9 years ago
Philip O'Toole b00084a771 Include commit information in version 9 years ago
Philip O'Toole 09eb50d2bb Support dumping version via command-line option 9 years ago
Philip O'Toole fa8c9b20c2 Add build information to status output 9 years ago
Philip O'Toole eba25cfda4 Allow build version to be set
In addition, log it at startup.
9 years ago
Philip O Toole 076a996a8b Support expvar data 9 years ago
Philip O'Toole b705de5240 Faulty leader redirection still disabled 9 years ago
Philip O'Toole 4524d014eb Leader redirection almost complete 9 years ago
Philip O'Toole faaaacd2a6 Remove reporting 9 years ago
Philip O'Toole 59052ec0b4 More status output 9 years ago
Philip O Toole ce0a2ce269 Usage and comment fixes 9 years ago
Philip O Toole 593719f86c Remove obsolete comment 9 years ago
Philip O Toole 9c02e1edb6 Make it easier to understand DSN 9 years ago
Philip O Toole 4ff67c2c90 Support in-memory databases 9 years ago
Philip O Toole 17aea81d75 Add Raft statistics 9 years ago
Philip O'Toole 48b6a469e3 Update main.go 9 years ago
Philip O Toole d0b4d6aa0a RWADME cleanups 9 years ago
Philip O Toole a583b70180 Enhance reporting so Hashicorp use is flagged 9 years ago
Philip O Toole 35803cdf75 Shutdown Store on exit 9 years ago
Philip O Toole a6cb950ff4 Allow DSN config at command line
It might still need to be richer, so end-users could specify an
in-memory SQLite database. Specifying a DSN would require the user
to supply the full path to the SQLite database. This is OK. However,
the code then needs to be able to parse out the path to the database
so it can remove it before start up.
9 years ago
Philip O Toole 2ebec9b973 Start adding support for snapshots
This shows that passing the database into the Raft module is probably
not going to work, since the database could be opened in two ways -
 directly at startup, and be completely restored from the log, or with
a combination of restoring from a snapshot, followed by the remaining
log entries. In both cases the database must be opened using the
requested DSN settings.

A detailed config object for controlling SQLite behaviour, is probably
best, and it should be passed to the Raft store on start up.

Finally, file-level copying of the SQLite file can only take place if
no transaction is in effect. This might be handled by the use of a
RWLock. The write-lock is taken during Execute() and Snapshot, but
the Read lock is taken during Query(). Unfortunately this may reduce
the concurrency of inserts and updates. Perhaps the Backup call on
the Go SQLite library might be better, but it might be slow.
9 years ago
Philip O Toole ab71c3bdd2 Execute working now 9 years ago
Philip O Toole d67957d16d Tweak DSN help output 9 years ago
Philip O Toole 3d277dd8fb Update help output for DSN override 9 years ago
Philip O Toole d70a9cb0ed Push database into Raft store
Allows the DSN to be fully set, if requested.
9 years ago
Philip O'Toole 73d880c93c Start support for SQLite DSN
This isn't complete, since it prepends the Raft directory to the
filename, which would break a DSN.
9 years ago
Philip O'Toole 875bb6ebf6 Raft clustering functional 9 years ago
Philip O'Toole 82c85f2102 Rename CLI to more standard version 9 years ago
Philip O'Toole 12aef34625 Start integrating actual SQLite support
Builds without error.
9 years ago
Philip O'Toole d7d46f79c0 Start refactor for Hashicorp
Heavily influenced by hraftd. rqlited builds without error.
9 years ago
Philip O'Toole 0b52865949 Add trivial rqlite-cli skeleton 10 years ago
Philip O'Toole 649cef2adb Add future location for rqlite CLI 10 years ago