Commit Graph

204 Commits

Author SHA1 Message Date
siddontang b6e44c3dc0 using close channel to wait new bin log 2014-09-04 23:52:09 +08:00
siddontang dad6478c12 MasterInfo rename to BinLogAnchor 2014-09-04 22:43:56 +08:00
siddontang 6fac39c96b bugfix for replication 2014-09-04 14:57:26 +08:00
siddontang 0af4758e79 lua update 2014-09-02 22:04:18 +08:00
siddontang ab1ae62bf7 add lua support 2014-09-02 17:55:12 +08:00
siddontang cfa6d86ace refactor binlog
can not compatibility
2014-09-01 10:16:20 +08:00
siddontang 356c2eea17 dump use raw key value 2014-09-01 08:34:03 +08:00
siddontang d94f4629c2 bitmap unlock bugfix 2014-09-01 08:33:35 +08:00
siddontang 882e20a3e3 refactor ledis lock and binlog 2014-08-30 17:39:44 +08:00
siddontang cb5a61240d server add scan support 2014-08-26 23:21:54 +08:00
siddontang ba8d9ea69d scan add match support
match uses regexp
2014-08-25 22:25:10 +08:00
siddontang 76896882a9 tx commit bugfix 2014-08-25 16:19:28 +08:00
siddontang 9b1c6c4223 refactor 2014-08-25 14:18:23 +08:00
holys eae4551fd0 add ttl test for set and bitmap 2014-08-18 01:52:02 +08:00
wenyekui d78eb0bdb4 add sscan/sflush 2014-08-16 16:55:36 +08:00
wenyekui 5b88f17470 Merge branch 'develop' into flush-feature 2014-08-16 16:42:43 +08:00
holys 917a6416de Merge branch 'client-feature' into develop 2014-08-16 16:41:36 +08:00
wenyekui 4b43f0bf7e add unit test 2014-08-16 15:35:05 +08:00
holys e8187843e4 bug fix: Set size 2014-08-16 14:34:15 +08:00
wenyekui 14dd858b04 bug fix: set zset size 2014-08-16 13:43:21 +08:00
wenyekui 928b4a03ae refactor flush 2014-08-16 12:38:49 +08:00
holys 8eb9109e91 update doc 2014-08-16 09:43:37 +08:00
holys 22161f91ba Merge branch 'set-feature' into develop 2014-08-15 18:09:55 +08:00
wenyekui 8c3385c90f Merge branch 'scan-feature' into develop 2014-08-15 16:59:39 +08:00
holys 00abaccbf2 add cmd_set commands and its tests 2014-08-15 15:51:58 +08:00
silentsai 57b5b33ebb fix expire fail while target key length of 1 bit 2014-08-15 15:42:25 +08:00
wenyekui 6c9d38fab7 bug fix: encode bitmap meta key 2014-08-15 11:42:37 +08:00
wenyekui 8d18c0e078 add unit test 2014-08-15 11:30:32 +08:00
siddontang b1824af7d9 use rawkey 2014-08-15 09:36:00 +08:00
holys c97b09fd0c add set operations: difference, union, intersection 2014-08-14 19:35:41 +08:00
wenyekui 729fba1b6a remove print statement 2014-08-14 19:06:47 +08:00
wenyekui cd44095dbd list/bit/zset scan 2014-08-14 19:05:17 +08:00
wenyekui 647790674b Merge branch 'develop' into scan-feature 2014-08-14 16:14:40 +08:00
wenyekui 94b3dac3e7 bug fix: zinterstore 2014-08-14 15:54:47 +08:00
wenyekui 54ed8e0d38 refactor scan 2014-08-14 15:24:41 +08:00
wenyekui 30b58b2b46 refactor HScan 2014-08-14 11:23:40 +08:00
holys 572a8f2c9a fix SAdd logic 2014-08-14 09:15:46 +08:00
holys 54a686277d add set data type support(unfinished) 2014-08-13 21:54:27 +08:00
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 3ff3dc3323 add some base set function 2014-08-11 14:52:43 +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
siddontang 9680161559 Merge branch 'develop' 2014-06-22 15:28:09 +08:00
siddontang cdb78498af ledis use proper return values not []interface{}
This is a very big change and not backward compatible
2014-06-22 15:25:51 +08:00
siddontang 8e8f3704e6 Merge branch 'develop' 2014-06-20 10:13:52 +08:00
siddontang 9e09e607c8 heel use iterator to multi find and delete 2014-06-20 10:12:50 +08:00
siddontang c5af770387 use my own log 2014-06-19 17:50:27 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00
silentsai 13a2e0e690 fix bug - expire bk routine keep running after ledis close 2014-06-18 15:47:26 +08:00
siddontang 3875511040 Merge branch 'develop' 2014-06-12 12:27:47 +08:00
silentsai 52c55988de unify all expire cycle activity into one routine; edit func name about flush 2014-06-12 10:51:36 +08:00
siddontang 00b5fb4b24 a liitle change 2014-06-11 14:52:34 +08:00
siddontang ebd15e5738 add replication test 2014-06-10 10:41:50 +08:00