Commit graph

40 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
ccf57df085 Add support for mysql as a backend kv store 2018-02-11 00:16:28 +00:00
Tobie Morgan Hitchcock
84b72e25d2 Don’t use of ClrL, GetL, DelL, PutL methods on KV store
Remove the need to query a particular KV level, and instead use slightly different encoded keys, and use prefix based iteration. This means we can use different KV stores to give the same functionality, without needing to use hierarchical KV stores.
2018-02-09 15:08:27 +00:00
Tobie Morgan Hitchcock
dc6a357e26 Enable passing context when beginning a transaction 2018-02-06 17:07:42 +00:00
Tobie Morgan Hitchcock
7a3355bff0 Enable customisable file size policies for storage backends 2018-01-12 11:10:11 +00:00
Tobie Morgan Hitchcock
19604e589b Buffer changes if data storage layer is shrinking 2018-01-11 15:14:50 +00:00
Tobie Morgan Hitchcock
62a1a38449 Add cli option to specify db shrink policy 2018-01-11 14:57:10 +00:00
Tobie Morgan Hitchcock
c0110b8af9 Implement updated rixxdb api interface 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
2c23ee3ffb Simplify cli start command arguments 2017-02-20 16:19:18 +00:00
Tobie Morgan Hitchcock
6a719d815b Improve errors throught codebase 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
e86857bdf7 Enable import / export of database transaction log 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
58ac9d9424 Add code comments to kvs package 2017-02-20 01:44:12 +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
efa641e175 Fix pgsql backend connection issues 2016-11-17 13:55:54 +00:00
Tobie Morgan Hitchcock
c997f89a2a Remove fullstop from error message 2016-10-26 22:24:01 +01:00
Tobie Morgan Hitchcock
7556a77df0 Improve transactions 2016-10-18 13:49:46 +01:00
Tobie Morgan Hitchcock
a3672d28b3 Return CKError instead of custom error when encryption fails 2016-09-06 14:32:21 +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
14b14b8f21 Detect problems with connecting to data stores 2016-07-19 10:24:55 +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
26fb5c5684 Simplify public error messages 2016-07-18 23:01:45 +01:00
Tobie Morgan Hitchcock
e23473cfa9 Ensure correct encryption key is provided if using populated data store 2016-07-18 23:01:28 +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
a9bff47026 Add golang code comments 2016-07-17 11:39:43 +01:00
Tobie Morgan Hitchcock
ef839dfa22 Enable more verbose error logging 2016-07-17 00:29:59 +01:00
Tobie Morgan Hitchcock
2334d9f7a1 Update errors and error messages 2016-07-16 14:44:48 +01:00
Tobie Morgan Hitchcock
8a0849d6da Enable multiple database backends 2016-07-16 14:43:53 +01:00
Tobie Morgan Hitchcock
51a2cb3415 Enable specifying database file path 2016-06-15 13:38:55 +01:00
Tobie Morgan Hitchcock
698a25b8e2 Fix bug with RDel prefix deleting in KV store
When a key is deleted in a for loop, calling cursor.next() jumps a key. As a result we must seek to the prefix again, until all keys with the prefix are deleted.
2016-05-31 13:34:54 +01:00
Tobie Morgan Hitchcock
c3fe3ef2c7 Log more error information 2016-05-30 10:59:05 +01:00
Tobie Morgan Hitchcock
4fbe1a6b58 FIx bug with PDel prefix deleting in KV store
When a key is deleted in a for loop, calling cursor.next() jumps a key. As a result we must seek to the prefix again, until all keys with the prefix are deleted.
2016-05-27 16:24:58 +01:00
Tobie Morgan Hitchcock
8d0d405ce0 Improve error output for encryption errors 2016-05-24 10:29:37 +01:00
Tobie Morgan Hitchcock
7960515114 Add compression and encryption to key value store 2016-05-21 18:07:51 +01:00
Tobie Morgan Hitchcock
c340c389ac Improve error messages 2016-05-21 18:06:21 +01:00
Tobie Morgan Hitchcock
b19c66cd03 Rename package kv to kvs 2016-05-19 12:32:55 +01:00