Commit Graph

217 Commits

Author SHA1 Message Date
siddontang f77438741d add make fmt and format go code 2015-02-05 09:39:18 +08:00
siddontang 926d082787 add some kv function
setrange, getrange, strlen, append
2015-02-05 09:30:04 +08:00
siddontang b5c78640aa support sort command 2015-02-04 14:09:05 +08:00
wenyekui 5863e52ded add xsexists and xzexists commands 2015-02-01 17:54:52 +08:00
wenyekui 52cad4ab31 add XLExists cmd 2015-02-01 17:41:28 +08:00
wenyekui 83c4db020c add xhexists cmd 2015-02-01 17:19:46 +08:00
siddontang 053da7736c Use new log interface 2015-01-12 10:32:03 +08:00
siddontang bb01d4c246 Merge branch 'pr/122' into develop 2014-12-15 09:59:20 +08:00
siddontang 0ee6860979 must clear key before restore 2014-11-30 22:39:00 +08:00
siddontang 4bdbdb7697 add dump and restore support 2014-11-27 14:03:44 +08:00
siddontang f094ed65e3 bug fix set close iterator 2014-11-27 09:20:49 +08:00
siddontang a1555c6096 fix lmdb test error on windows 2014-11-25 14:52:50 +08:00
siddontang 2a4504aafa add version tag 2014-11-21 10:32:25 +08:00
siddontang 62440fef91 refactor replication, not compatibility
use data and meta file for a table
use mmap for file read and write
2014-11-20 17:33:38 +08:00
siddontang 8ec2730235 rpl optimize
log head use pool
remove defer mutex
2014-11-19 10:26:50 +08:00
siddontang b7cabcbb5f rpl optimize 2014-11-18 17:50:22 +08:00
siddontang 5196e211cc adjust readonly check 2014-11-14 16:00:03 +08:00
siddontang 6f39cb17a9 close gracefully
wait all resp-client connections closed
2014-11-11 15:21:41 +08:00
siddontang a5dcdbf6c3 Merge branch 'rpl-feature' into develop 2014-11-11 09:08:33 +08:00
siddontang 660998f1fd using batch to optimize load dump 2014-11-10 15:35:57 +08:00
siddontang d058c20094 refactor replication
replication log format is not compatibility
2014-11-10 12:40:19 +08:00
siddontang 40a0f88d85 Merge pull request #93 from xlab/patch-1
Increase MaxValueSize for a reasonable value
2014-11-09 18:39:27 +08:00
siddontang 7b5d950cc9 fix go test race error 2014-11-01 23:28:34 +08:00
siddontang 4c19e40159 add GetSlice, hope can improve get performance 2014-10-29 20:17:12 +08:00
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