Commit Graph

205 Commits

Author SHA1 Message Date
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
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