Commit Graph

45 Commits

Author SHA1 Message Date
siddontang 0a64b592d5 add file lock to promise one instance for a path 2014-09-24 15:51:09 +08:00
siddontang 7d1f13f9d7 rename package 2014-09-24 09:46:36 +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 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 882e20a3e3 refactor ledis lock and binlog 2014-08-30 17:39:44 +08:00
siddontang 9b1c6c4223 refactor 2014-08-25 14:18:23 +08:00
holys 54a686277d add set data type support(unfinished) 2014-08-13 21:54:27 +08:00
siddontang 5cdd6f2358 all package use same config struct
add toml support
2014-08-07 16:49:48 +08:00
siddontang 7a237661da add support for multi storage 2014-07-25 17:58:00 +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
siddontang dfb9c90412 update documents 2014-07-09 09:33:48 +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 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 5be09d5836 new type - bin 2014-06-23 20:09:05 +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
silentsai 52c55988de unify all expire cycle activity into one routine; edit func name about flush 2014-06-12 10:51:36 +08:00
siddontang ebd15e5738 add replication test 2014-06-10 10:41:50 +08:00
siddontang 993ccdd052 add flushall, some replication 2014-06-08 16:43:59 +08:00
siddontang 664a082c06 refactor replication, deprecate relaylog 2014-06-07 16:56:22 +08:00
siddontang 8fab454223 adjust config, add some replication fund 2014-06-06 14:57:30 +08:00
siddontang 68c63c416a adjust config 2014-06-06 11:25:13 +08:00
siddontang 5d466fb82f add data_dir, like mysql to store all data 2014-06-06 10:34:57 +08:00
siddontang c05a66a47c remove relay log 2014-06-06 08:30:21 +08:00
siddontang be0464a21c add relay log, add quit channel 2014-06-05 15:59:10 +08:00
silentsai 038f9c7000 Merge branch 'develop' of https://github.com/siddontang/ledisdb into develop 2014-06-03 15:40:27 +08:00
silentsai 5c7d885168 add expire for the kv type; simplify the listMetaKey format 2014-06-03 15:40:10 +08:00
siddontang 263a89b9aa bin log and relay log use same log 2014-06-03 14:08:57 +08:00
siddontang 8cc62ad89f move bin log to replication package 2014-06-03 09:51:29 +08:00
siddontang 2b106981ba add global lock to handle replication 2014-05-29 15:07:14 +08:00
siddontang d9dcab1d6b adjust key/value max size, change step commit in flush 2014-05-28 14:20:34 +08:00
siddontang f66ffb18dc add base bin log support 2014-05-27 16:05:24 +08:00
silentsai 429c033b68 remove 'FlushDB' temporarily 2014-05-22 12:49:04 +08:00
silentsai 9f22f3e11e append test cases for t_zset; add 'FlushDB' api into the core 2014-05-22 11:11:50 +08:00
siddontang d86c6251fb refactor, support select command 2014-05-20 08:41:24 +08:00