Commit graph

203 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
485475d7f3 Ensure EndOfTime is always in the future 2016-05-31 13:35:08 +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
f795c97c22 Add variables for begging and end of time 2016-05-31 11:24:10 +01:00
Tobie Morgan Hitchcock
c3fe3ef2c7 Log more error information 2016-05-30 10:59:05 +01:00
Tobie Morgan Hitchcock
bcb75db2d1 Don't attempt encoding/decoding on empty []byte 2016-05-30 10:58:51 +01:00
Tobie Morgan Hitchcock
ece43dae87 Add additional keys 2016-05-27 16:31:39 +01:00
Tobie Morgan Hitchcock
6d872fbd5d Change key struct fields to interface{}
Most key struct fields are changed to interface{} so that they can be encoded with whatever data is underlying.
2016-05-27 16:29:50 +01:00
Tobie Morgan Hitchcock
c5f7c81ad1 Add key prefix testing 2016-05-27 16:27:02 +01:00
Tobie Morgan Hitchcock
e69ae69e4f Add ability to ignore struct fields when encoding keys 2016-05-27 16:25:46 +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
47adafe3c3 Enable custom type encoding 2016-05-26 00:25:18 +01:00
Tobie Morgan Hitchcock
16e1477f07 Remove unused packages 2016-05-26 00:25:09 +01:00
Tobie Morgan Hitchcock
25766ce0e2 Simplify code expression 2016-05-25 12:36:45 +01:00
Tobie Morgan Hitchcock
b9282ee7ba Use internal kv store not cockroachdb 2016-05-25 12:33:05 +01:00
Tobie Morgan Hitchcock
c1845cb5f7 Simplify db output errors 2016-05-25 12:32:32 +01:00
Tobie Morgan Hitchcock
0f4c8c1c8c Add table statement execution 2016-05-25 11:47:11 +01:00
Tobie Morgan Hitchcock
3b73fa79c1 Remove comment 2016-05-24 14:53:05 +01:00
Tobie Morgan Hitchcock
7df41f388f Allow extra values in tables and ids 2016-05-24 13:51:52 +01:00
Tobie Morgan Hitchcock
8d0d405ce0 Improve error output for encryption errors 2016-05-24 10:29:37 +01:00
Tobie Morgan Hitchcock
f931b6c15c Ignore encryption if key length is 0 2016-05-24 10:27:46 +01:00
Tobie Morgan Hitchcock
e30ecaf0f9 Allow 16, 24, or 32 bit encryption keys 2016-05-24 10:27:29 +01:00
Tobie Morgan Hitchcock
03383189ad Remove unused function 2016-05-23 16:35:05 +01:00
Tobie Morgan Hitchcock
a9a53e4851 Quote injected variables 2016-05-23 15:21:53 +01:00
Tobie Morgan Hitchcock
c3b64107d3 Add endpoint for lb status monitoring 2016-05-23 15:21:35 +01:00
Tobie Morgan Hitchcock
5704c9f387 Move ember project to gui folder 2016-05-23 15:21:18 +01:00
Tobie Morgan Hitchcock
2bf8471712 Simplify REST errors 2016-05-23 15:20:36 +01:00
Tobie Morgan Hitchcock
6dc0f90e98 Remove complex queries from REST interface 2016-05-23 15:20:17 +01:00
Tobie Morgan Hitchcock
200eafd0f2 Add tests 2016-05-23 14:09:26 +01:00
Tobie Morgan Hitchcock
d8e7c1008d Allow different length keys 2016-05-23 14:09:14 +01:00
Tobie Morgan Hitchcock
4d1e302e76 Use surreal rand package 2016-05-23 14:08:59 +01:00
Tobie Morgan Hitchcock
54a13c049f Return byte slice not string 2016-05-23 14:08:32 +01:00
Tobie Morgan Hitchcock
9085865e35 Improve tests 2016-05-23 14:08:22 +01:00
Tobie Morgan Hitchcock
5e6f2f9c5a Update sql package 2016-05-23 13:32:02 +01:00
Tobie Morgan Hitchcock
c937505b7e Remove unused package imports 2016-05-23 13:31:49 +01:00
Tobie Morgan Hitchcock
5e2241f77a Hide Prefix and Suffix characters from public 2016-05-23 13:31:41 +01:00
Tobie Morgan Hitchcock
2024efdb0f Ensure all tests are run 2016-05-23 13:31:24 +01:00
Tobie Morgan Hitchcock
24a7e406c0 End strings with double TERM byte 2016-05-23 13:31:16 +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
07f7d3a0a0 Add byte encoding decoding package 2016-05-21 18:06:00 +01:00
Tobie Morgan Hitchcock
d1d40b1ee3 Add byte encryption decryption package 2016-05-21 18:05:11 +01:00
Tobie Morgan Hitchcock
71deb3c17b Don't download goconvey each time 2016-05-20 10:56:31 +01:00
Tobie Morgan Hitchcock
ac78bf824d Improve goconvey performance 2016-05-20 08:56:50 +01:00
Tobie Morgan Hitchcock
b2c0eed2d3 Don't perform clean on quick build 2016-05-20 08:56:24 +01:00
Tobie Morgan Hitchcock
0af1129c50 Remove godoc from Makefile 2016-05-20 08:56:15 +01:00
Tobie Morgan Hitchcock
8a47df75c1 Fix comment typos 2016-05-20 08:56:03 +01:00
Tobie Morgan Hitchcock
b19c66cd03 Rename package kv to kvs 2016-05-19 12:32:55 +01:00
Tobie Morgan Hitchcock
06ddedf4b4 Ensure key byte slice data is private 2016-05-18 01:21:54 +01:00
Tobie Morgan Hitchcock
7addcd8289 Latest implementation of key encoding+decoding 2016-05-18 00:55:50 +01:00
Tobie Morgan Hitchcock
0e21d585ba Move 'json' package to 'data' 2016-05-17 22:38:06 +01:00