Commit Graph

115 Commits

Author SHA1 Message Date
wenyekui 48e99a1693 modify unit test 2014-08-13 15:38:59 +08:00
wenyekui cb908a859c add zunionstorecommand & zinterstorecommand in server pkg 2014-08-13 11:59:43 +08:00
wenyekui 87fdc9125e add unit test 2014-08-13 10:26:35 +08:00
wenyekui e1a2ebc27a add unit test 2014-08-13 09:57:13 +08:00
wenyekui 3927d2bd8f add zunionstore & zintrestore interface 2014-08-12 18:06:02 +08:00
siddontang 5cdd6f2358 all package use same config struct
add toml support
2014-08-07 16:49:48 +08:00
siddontang b413802fd8 store reduce pointer alloc 2014-07-29 22:30:59 +08:00
siddontang a712a95d0d remove BatchWrite Close
leveled and rocksdb use runtime SetFinalizer instead
2014-07-29 22:23:50 +08:00
siddontang efa8e850f5 Merge branch 'storage-feature' into develop 2014-07-26 18:43:23 +08:00
siddontang 6279eeadf8 add rocksdb support 2014-07-26 18:39:54 +08:00
siddontang e073396481 update store 2014-07-26 00:46:03 +08:00
siddontang 727286d1ac mdv update 2014-07-25 23:40:10 +08:00
siddontang 7a237661da add support for multi storage 2014-07-25 17:58:00 +08:00
holys fe881ba03c add errer input params test for kv; fix typo for t_kv.go 2014-07-25 17:26:29 +08:00
siddontang 995926387c add bin log comment 2014-07-23 17:11:52 +08:00
siddontang f95494386a update config 2014-07-23 08:30:00 +08:00
siddontang 7a763da082 change configuration
Config struct now not includes other configs, but shows all

People can see configuration clearly
2014-07-23 07:55:40 +08:00
silentsai 325f153885 correct using of iterator raw func in bit api 2014-07-22 17:56:51 +08:00
silentsai dd1db989f4 optimize memory cost while iterating data segments in bitmap 2014-07-21 17:48:44 +08:00
silentsai 5eed29a4db add some test for the bit type 2014-07-16 15:26:54 +08:00
silentsai 3da485602b problem of incorrect bit count within specified pos range is solved; corret itoperation return value 2014-07-16 11:48:02 +08:00
siddontang 4f203e9b5d parseint bitsize is 8 2014-07-16 11:29:44 +08:00
siddontang eec14806d2 add support for read and print bin log 2014-07-11 13:28:34 +08:00
siddontang a41b1ef669 refactor, bin rename to bit, rename datatype 2014-07-11 13:27:40 +08:00
siddontang cdb6b1cdd2 use iterator to read many consistently in api
for a read api, it not uses lock, so multi read in a api may cause some
unpredictable when something writes at same time.
2014-07-10 11:32:37 +08:00
siddontang 5e33e67d89 refactor t/l, reduce code
not backwards compatibility,
2014-07-09 17:01:33 +08:00
siddontang dfb9c90412 update documents 2014-07-09 09:33:48 +08:00
silentsai febe8ee93d merge branch 'bin-feature' 2014-07-08 17:10:44 +08:00
silentsai fd248aaa35 Merge branch 'bin-feature' into develop 2014-07-08 16:36:03 +08:00
siddontang ca8c4e931d elimination exec in new goroutine
check whether cog cpu is still very high
2014-07-07 16:39:36 +08:00
siddontang 0fd6c150e8 Optimize memory copy 2014-07-07 15:36:45 +08:00
siddontang 64a4fee577 replication use snappy 2014-07-04 17:55:47 +08:00
siddontang 6adfb1be98 adjust Open interface, not backwards compatibility 2014-07-04 15:45:23 +08:00
siddontang 38f741ddb1 use go-log and adjust some param name
go-log now has a well document.
it can be used directly.

limit may cause confused, use count instead
2014-07-04 13:27:57 +08:00
silentsai 1a48d08d66 BMSetBit - offer a way to set multi bit during an api call; also fix offset parse bug. 2014-07-03 17:52:03 +08:00
silentsai 2dbf643b16 expire on the bin type is available 2014-07-03 11:38:52 +08:00
siddontang b13ce1329a bugfix for lrange
adjust start and end to be same as redid
2014-07-01 09:21:14 +08:00
silentsai 70018092fe offer function 'xor' 'not' in bit operation 2014-06-30 18:00:14 +08:00
siddontang cd194dff48 add bin 2014-06-30 10:50:42 +08:00
siddontang 86366bbdc5 move bin to another branch 2014-06-30 10:49:32 +08:00
siddontang 46d2ecda91 add hmclear, lmclear and zmclear for multi keys 2014-06-27 16:28:32 +08:00
silentsai c2cfc60cf8 solve bitop problem while inexisting srckeys occours 2014-06-27 11:54:04 +08:00
silentsai a404ef26c0 fix the problem causes from using a global empty segment 2014-06-27 11:00:01 +08:00
silentsai 66806d782a newly support of bit operation 'and' and 'or' for the bin type 2014-06-26 16:27:25 +08:00
siddontang d85d65d0f2 update doc 2014-06-25 12:57:19 +08:00
silentsai 8c3ac7ebfb fix problem of size calculation in bin type, and add 'btail' api 2014-06-24 12:00:41 +08:00
silentsai 5be09d5836 new type - bin 2014-06-23 20:09:05 +08:00
siddontang b3e0ce9ae2 add persist support 2014-06-23 11:12:20 +08:00
siddontang 794cb12ba4 update document 2014-06-22 21:13:57 +08:00
siddontang d45a82897f update document 2014-06-22 21:05:52 +08:00