Commit Graph

243 Commits

Author SHA1 Message Date
siddontang 21fee60d8b optimize and bugfix TTL, must upgrade manually 2014-10-29 16:02:46 +08:00
holys c7dfec509b add SETEX command for KV 2014-10-26 15:15:43 +08:00
Maxim Kouprianov 0c5691ff0e Increase MaxValueSize for a reasonable value
10MB for a blob is a really tiny size, I'd like to decide myself the size of values I'm going to push. And it seems to me that all blobs smaller than 1GB shouldn't be harmful for the ledis, so just lift up this limit please.
2014-10-23 20:26:28 +04:00
siddontang 4db3dbb6f5 bugfix for test dump 2014-10-23 13:34:12 +08:00
siddontang f09e43ad99 add rev scan support 2014-10-20 22:36:16 +08:00
siddontang f715de3561 list block pop support milliseconds timeout 2014-10-17 11:41:05 +08:00
siddontang 7dd3a5381d update list block pop 2014-10-17 09:55:43 +08:00
siddontang 336c1dbb94 add block list operation 2014-10-16 17:51:52 +08:00
siddontang 028b9fbd55 info update and add store stat 2014-10-15 10:41:43 +08:00
siddontang f05398cdf9 store add stat 2014-10-15 10:18:20 +08:00
siddontang 4a1c74cb44 adjust config 2014-10-11 16:00:59 +08:00
siddontang e3c2102080 closure defer not works as I think 2014-10-11 10:31:34 +08:00
siddontang 855f0a3477 add readonly support 2014-10-10 09:49:16 +08:00
siddontang d675556cb4 support zset lex commands 2014-10-01 23:26:46 +08:00
siddontang 98912695a4 wait replication sleep some time 2014-09-29 17:01:58 +08:00
siddontang 5786b72eb1 bugfix for wait replication 2014-09-28 21:55:25 +08:00
siddontang 69e489dd1b bugfix for replication 2014-09-28 20:37:57 +08:00
siddontang b4d82d7e34 update watigroup add place 2014-09-27 20:13:13 +08:00
siddontang f49a3bbece add compression for log 2014-09-27 10:08:45 +08:00
siddontang 05135a5ac9 move nextsynclogid to server 2014-09-25 22:33:09 +08:00
siddontang 962a087330 update slaveof and readonly 2014-09-25 16:03:29 +08:00
siddontang dca71891c3 readd transaction 2014-09-25 10:44:07 +08:00
siddontang 595ead55bd bug fix: stop replication before close 2014-09-25 10:21:50 +08:00
siddontang 0a64b592d5 add file lock to promise one instance for a path 2014-09-24 15:51:09 +08:00
siddontang b7de9e6354 use tiny go package 2014-09-24 13:29:27 +08:00
siddontang 5bccfd13dc use tiny go package 2014-09-24 12:34:21 +08:00
siddontang 7d1f13f9d7 rename package 2014-09-24 09:46:36 +08:00
siddontang 4bb886adff update info 2014-09-23 17:53:52 +08:00
siddontang 1a1250d949 refactor, remove bin log, add consensus replication 2014-09-23 17:28:09 +08:00
siddontang 59e974c258 update, can not run at all 2014-09-22 22:03:44 +08:00
siddontang 22109ed0f1 refactor, can not run at all 2014-09-22 17:50:51 +08:00
siddontang e3bdb57be2 add DBPath and UseBinLog config 2014-09-18 22:30:33 +08:00
siddontang 2972f57436 remove DataDB 2014-09-18 22:20:18 +08:00
siddontang ee59af0062 add warning for bin log 2014-09-18 21:54:33 +08:00
siddontang 0a72481eb0 mode use 0644 for file, 0755 for dir 2014-09-18 21:27:43 +08:00
siddontang 8c70bbfdbe update, can not run at all 2014-09-17 23:06:42 +08:00
siddontang 8b8745be92 refactor, can not build and run at all 2014-09-17 17:54:04 +08:00
siddontang 39d6db56bd change open file and mkdir mode
open file use 0644
mkdir use 0755
2014-09-13 23:06:36 +08:00
siddontang a1096fd1d8 binlog purgeall bugfix 2014-09-12 15:06:47 +08:00
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