Commit graph

22 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
e3bea0a897 Use context.Context on all kvs requests 2018-05-02 03:05:03 +01:00
Tobie Morgan Hitchcock
9f0ea3ee61 Improve database query logging 2018-05-02 02:32:06 +01:00
Tobie Morgan Hitchcock
f1fa311d3b Specify connection limits for mysql kv store backend 2018-05-01 23:08:15 +01:00
Tobie Morgan Hitchcock
55ece805e4 Don’t include empty/deleted values from KV storage
When looping over a range of KV items, it should ignore items which have been set to NULL and whose latest version has therefore been deleted.
2018-04-15 01:37:23 +01:00
Tobie Morgan Hitchcock
fd0712398d Enable mysql tls and remove cloudsqlproxy 2018-04-06 01:15:19 +01:00
Tobie Morgan Hitchcock
82ffd9ef31 Fix bug in putC/delC for mysql storage backend
When using encryption, the expected value (once encrypted) would never be the same as the encrypted value in the storage layer. As a result, it would never be possible to putC or delC a KV item.

Now the mysql package first gets the key from the storage layer, and then checks it’s decrypted value, before attempting to overwirte the value in the storage layer.
2018-04-04 19:11:59 +01:00
Tobie Morgan Hitchcock
bb8c623f88 Don’t use readonly transactions for mysql 2018-02-11 16:43:59 +00:00
Tobie Morgan Hitchcock
5c18ee20a7 Log errors which occur on the kvs layer 2018-02-11 16:43:49 +00:00
Tobie Morgan Hitchcock
8b508b09c6 Don’t use non-default isolation level for mysql 2018-02-11 16:14:42 +00:00
Tobie Morgan Hitchcock
ccf57df085 Add support for mysql as a backend kv store 2018-02-11 00:16:28 +00:00
Tobie Morgan Hitchcock
a3b9362adb Switch underlying KV store to rixxdb/dendrodb 2017-02-09 11:16:59 +00:00
Tobie Morgan Hitchcock
7728c5b398 Use keyed fields for ‘go vet’ 2016-12-08 22:03:42 +00:00
Tobie Morgan Hitchcock
f931341a95 Add ability to check if db transaction is closed 2016-11-26 16:52:43 +00:00
Tobie Morgan Hitchcock
a57c2733fa Use uint64 as limit in mysql backend connector 2016-11-17 14:18:11 +00:00
Tobie Morgan Hitchcock
7556a77df0 Improve transactions 2016-10-18 13:49:46 +01:00
Tobie Morgan Hitchcock
a06263d738 Disable individual encryption per transaction 2016-07-19 17:38:32 +01:00
Tobie Morgan Hitchcock
7b03d6f05e Add remote data store connections with SSL 2016-07-19 12:05:11 +01:00
Tobie Morgan Hitchcock
f26c4862a5 Return if any errors when initialising data stores 2016-07-19 10:22:22 +01:00
Tobie Morgan Hitchcock
e1f1031cc7 Add global datastore encryption 2016-07-18 23:00:01 +01:00
Tobie Morgan Hitchcock
fd09bebedc Add Str convenience method for KV items 2016-07-18 22:59:08 +01:00
Tobie Morgan Hitchcock
a556096cee Pass full configuration data into data store packages 2016-07-18 13:33:26 +01:00
Tobie Morgan Hitchcock
8a0849d6da Enable multiple database backends 2016-07-16 14:43:53 +01:00