46 Commits

Author SHA1 Message Date
Philip O'Toole
a031c8eefa Upgrade to SQLite 3.39.4
Also upgrade other dependencies.
2022-10-26 20:42:02 -04:00
Salah Aldeen Al Saleh
36eb4d87f6 Update packages to resolve CVE-2022-32149 and CVE-2022-27664 2022-10-26 19:28:02 +00:00
Philip O'Toole
ce25f23d7d Upgrade to latest SQL parser 2022-10-14 09:28:17 -04:00
Philip O'Toole
95dfead226 Integrate SQL rewrite with rqlite for RANDOM (#1046) 2022-09-04 11:47:08 -04:00
Philip O'Toole
e8ccbb9d66 Upgrade CircleCI Go image
Upgrade dependencies too.
2022-09-03 11:34:28 -04:00
Philip O'Toole
dc99d3d9a6 Update dependencies 2022-05-28 10:34:30 -04:00
Philip O'Toole
d64e0f8019 Upgrade go mod dependencies 2022-05-17 21:04:50 -04:00
Philip O'Toole
3dc76cc6d2 go mod updates 2022-03-28 12:13:21 -04:00
Philip O'Toole
869f3547b7 Update to SQLite 3.38 2022-02-28 22:30:36 -05:00
Philip O'Toole
3f1398b5df go mod 2022-01-31 21:53:43 -05:00
Philip O'Toole
75fc8784d2 Upgrade SQLite to 3.37.0 2022-01-31 16:00:48 -05:00
Philip O'Toole
5ab4301df4 go mod 2022-01-31 01:16:03 -05:00
Philip O'Toole
f9148b5745 Add support for DNS SRV -based discovery 2022-01-31 00:50:32 -05:00
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.
2022-01-30 20:03:36 -05:00
Philip O'Toole
457ca9ce3f Use correct JSON field name for Consul scheme 2022-01-26 08:40:54 -05:00
Philip O'Toole
db3ba9d7fc go mod updates 2022-01-23 12:00:14 -05:00
Philip O'Toole
490f654f36 Move to etcd's fork of BoltDB
bboltdb is the version the Consul now runs.
2022-01-20 22:16:59 -05:00
Philip O'Toole
ca7e6e98ff Stop using deprecated protobuf package 2022-01-20 08:28:20 -05:00
Philip O'Toole
4aea326959 Consul and etcd autoclustering (#957)
This PR introduces new node-discovery integration with Consul and etcd. By using one of those systems with rqlite, automatic clustering of rqlite is much easier.
2022-01-19 21:20:47 -05:00
Philip O'Toole
030b089b80 go get -u ./... & go mod tidy 2022-01-06 20:55:30 -05:00
chermehdi
3bfcbffc37 Fix typos and Grammar issues 2022-01-04 22:50:49 +00:00
Philip O'Toole
bc82595964 Update dependencies 2021-09-09 09:29:17 -04:00
Philip O'Toole
e031a6e89c Merge branch 'master' of github.com:rqlite/rqlite into boltdb-stats 2021-09-09 09:04:43 -04:00
Philip O'Toole
5153b8ad9e go mod tidy 2021-09-09 09:02:41 -04:00
Philip O'Toole
0e34dc49ca Add BoltDB stats 2021-09-09 08:43:16 -04:00
Philip O'Toole
698aad9d4f go mod tidy 2021-09-08 20:46:31 -04:00
Philip O'Toole
bf6e7de219 Upgrade dependencies, rqlite/go-sqlite3 1.22.0
Support in-memory databases up to 2GiB in size. See
https://sqlite.org/forum/forumpost/b1ba232667130afa?t=h.
2021-09-01 08:12:48 -04:00
Philip O'Toole
6c69e8a9b5 Upgrade to new compile options 2021-08-05 20:35:14 -04:00
Philip O'Toole
2924ed407d Upgrade to rqlite/go-sqlite3 v1.20.4 2021-07-31 10:16:51 -04:00
Philip O'Toole
40b4344c10 SQLite 3.36 2021-07-15 09:57:53 -04:00
Philip O'Toole
6a48068d78 Integrate Cluster service with HTTP service 2021-04-28 22:05:07 -04:00
Philip O'Toole
3a9af0ffb6 Upgrade dependencies, including Hashicorp Raft 2021-04-24 12:34:43 -04:00
Philip O'Toole
520cfa0604 Upgrade to rqlite/go-sqlite3 1.20.2
Brings in SQLite 3.35.4.
2021-04-14 15:18:10 -04:00
Philip O'Toole
fc314dc2d8 Upgrade to rqlite/go-sqlite3 1.20.1
This version fixes a memory leak.
2021-02-08 09:02:26 -05:00
Philip O'Toole
b1781075fa Upgrade rqlite-go-sqlite3 2021-01-31 16:16:10 -05:00
Philip O'Toole
74c0a57861 Upgrade rqlite-go-sqlite3 2021-01-31 14:31:43 -05:00
Philip O'Toole
6fad9a6a80 Finally get go-sqlite3 fork working 2021-01-28 22:55:30 -05:00
Philip O'Toole
93a78f09a0 Add call to Serialize function 2021-01-28 22:45:26 -05:00
Philip O'Toole
488a9554ea Switch to rqlite fork of go-sqlite3 2021-01-28 22:00:34 -05:00
Philip O'Toole
f81d7e29d7 Enable http/2.0 support for TLS
As per https://blog.cloudflare.com/exposing-go-on-the-internet/
2020-12-27 18:20:05 -05:00
Philip O'Toole
cdcefd53bd Update dependencies 2020-12-26 23:52:50 -05:00
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.
2020-12-23 15:32:26 -05:00
Philip O'Toole
b3daa73ca4 Update Go mod dependencies
In particular upgrade to Hashicorp Raft v1.2.0.
2020-11-17 08:43:21 -05:00
Philip O'Toole
83f5dedd08 Upgrade golang.org/x/crypto 2020-09-28 15:10:52 -04:00
Philip O'Toole
244bc9da3c Upgrade SQLite layer 2020-09-28 15:10:01 -04:00
Philip O'Toole
ca7e043c17 go mod 2019-12-19 20:44:52 -05:00