Commit Graph

207 Commits

Author SHA1 Message Date
siddontang 4a1c74cb44 adjust config 2014-10-11 16:00:59 +08:00
siddontang 1583ae90fc update snapshot 2014-10-11 10:14:23 +08:00
siddontang 36f015268f update snapshot 2014-10-10 22:45:22 +08:00
siddontang 180091e10f add snapshot store 2014-10-10 17:57:18 +08:00
siddontang 855f0a3477 add readonly support 2014-10-10 09:49:16 +08:00
siddontang 884de89cb8 replication add log 2014-10-09 11:47:14 +08:00
siddontang 45a4dd1abc info log id returns 0 if no replication 2014-10-09 11:03:58 +08:00
siddontang 771d32c879 bugfix for info command 2014-10-09 10:47:21 +08:00
siddontang 53f89f671b add config rewrite command 2014-10-08 16:39:14 +08:00
siddontang fefc39c429 add time command 2014-10-08 13:55:46 +08:00
siddontang 4d974a0db7 add wait max slave acks config 2014-10-05 17:24:44 +08:00
siddontang 3f93676d4d flushall will restart replication if possible 2014-10-03 20:31:24 +08:00
siddontang d675556cb4 support zset lex commands 2014-10-01 23:26:46 +08:00
siddontang 2a3fca829e update slaveof command, wait (n + 1) /2 replies 2014-09-28 21:34:24 +08:00
siddontang 7df7af8b54 client rollback tx when close 2014-09-27 20:11:36 +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 6d293ce152 use async notify 2014-09-24 21:31:26 +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 eb77615b4b rename file 2014-09-24 09:44:42 +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 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 0a72481eb0 mode use 0644 for file, 0755 for dir 2014-09-18 21:27:43 +08:00
siddontang f22bbb97df bugfix scan count 0 2014-09-18 09:08:18 +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 6aec5d4952 use golua directly 2014-09-13 14:11:05 +08:00
siddontang 3354399d9b move scan to scan 2014-09-09 10:02:49 +08:00
siddontang 947ec0081b remove cpu info
1, cpu info field is not cross platform
2, may use other tool to see
2014-09-07 08:44:19 +08:00
siddontang 53ff437877 update ReadBulkTo 2014-09-05 10:01:50 +08:00
siddontang c8e5e39f9d hand up for new event if no one now
do not wait 1 second
2014-09-05 10:01:38 +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 b9ea592026 add lua build tag
maybe install golua error, and lua cannot be used
2014-09-04 16:39:23 +08:00
siddontang b4c66c7eed bugfix for script command 2014-09-03 17:00:03 +08:00
siddontang 9628817ca4 replace lua error
error may cause c stack overflow
https://github.com/aarzilli/golua/issues/24
2014-09-03 09:03:49 +08:00
siddontang d9a8da770d return lua error in eval 2014-09-03 07:49:46 +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 93f3cc5343 lua resp writer 2014-09-01 23:26:35 +08:00
holys 15636bc0cb refactor test, reduce code 2014-08-28 17:01:05 +08:00
siddontang 5f5b7f1ac7 add flush command
complete client command and document
2014-08-27 10:57:18 +08:00
siddontang fa6adeabee update scan support 2014-08-27 10:29:17 +08:00
siddontang cb5a61240d server add scan support 2014-08-26 23:21:54 +08:00
siddontang 9b1c6c4223 refactor 2014-08-25 14:18:23 +08:00
holys 22161f91ba Merge branch 'set-feature' into develop 2014-08-15 18:09:55 +08:00
holys eb3f420cc8 update test for ttl and bitmap 2014-08-15 15:51:58 +08:00
holys 00abaccbf2 add cmd_set commands and its tests 2014-08-15 15:51:58 +08:00
wenyekui 647790674b Merge branch 'develop' into scan-feature 2014-08-14 16:14:40 +08:00
wenyekui 34f1795a5f modify unit test 2014-08-14 16:10:07 +08:00
wenyekui 54ed8e0d38 refactor scan 2014-08-14 15:24:41 +08:00
wenyekui 4d6b42671b fix misspelling 2014-08-14 10:37:27 +08:00
wenyekui 396030a06f add unit test 2014-08-13 14:23:27 +08:00
wenyekui cb908a859c add zunionstorecommand & zinterstorecommand in server pkg 2014-08-13 11:59:43 +08:00
holys 74b0c60ece update generate.py; add command_cnf.go 2014-08-11 12:38:21 +08:00
wenyekui 693bcf32f4 change import path of bson lib 2014-08-11 10:08:41 +08:00
siddontang 5cdd6f2358 all package use same config struct
add toml support
2014-08-07 16:49:48 +08:00
wenyekui 8c9ddb72ea Delete http_interface.md 2014-08-04 14:37:06 +08:00
siddontang 7485899c17 update doc 2014-08-04 14:13:35 +08:00
wenyekui ab189ffe40 add return statement 2014-08-04 11:37:21 +08:00
wenyekui 5c3872ce68 Merge branch 'restful-feature' into develop
Conflicts:
	bootstrap.sh
	server/cmd_bit.go
	server/cmd_kv.go
	server/cmd_zset.go
2014-08-04 11:26:08 +08:00
wenyekui 6c88687ebf add quit commands 2014-08-04 11:06:28 +08:00
wenyekui 828b74e2d5 update doc.go 2014-08-04 10:47:10 +08:00
wenyekui 93761d8ff3 http interface: unsupport repl cmds 2014-08-04 10:38:43 +08:00
wenyekui 1655f48652 modify remote addr 2014-08-04 10:28:09 +08:00
wenyekui 9ad7095e2d modify accesslog format 2014-08-04 10:17:30 +08:00
wenyekui 9c5ade8ee3 add document: http_interface.md 2014-08-04 09:44:58 +08:00
wenyekui 3b89543de6 fix argument checking 2014-08-01 16:03:51 +08:00
wenyekui 6947255c22 put args into reqContext 2014-08-01 15:22:24 +08:00
wenyekui 33a2e6afb9 http interface: not support cmds of repl 2014-08-01 15:01:16 +08:00
wenyekui 95b6dd88fa ignorecase 2014-08-01 14:27:34 +08:00
wenyekui b5e5b787d6 modify argument checking 2014-08-01 14:18:07 +08:00
wenyekui 2166c6ff19 add a extra bool value when returning status 2014-08-01 11:59:16 +08:00
wenyekui a88c8c46d8 rm server/http 2014-08-01 11:43:05 +08:00
wenyekui e46554e9f6 refactor http interface 2014-08-01 11:42:16 +08:00
silentsai d0e7698984 cut async feature from request handler 2014-08-01 09:38:08 +08:00
silentsai 715e35098c seperate the behavior from client : client input , request handle 2014-07-31 18:28:19 +08:00
silentsai 14767ecadb abstract the read / write in server client 2014-07-31 14:38:20 +08:00
holys 781c18333b remove foolish code 2014-07-29 20:08:20 +08:00
holys 2f3d86cfaf Merge branch 'develop' of https://github.com/siddontang/ledisdb into develop
Conflicts:
	Makefile
2014-07-29 16:22:10 +08:00
wenyekui 895613ca5b Update readme.md 2014-07-29 15:33:35 +08:00
wenyekui d4da8fab69 Update readme.md 2014-07-29 15:31:50 +08:00
wenyekui 7ba2cc6d61 add readme 2014-07-29 15:27:43 +08:00
wenyekui f8e9308a0d cancel supporting websocket 2014-07-29 11:02:13 +08:00
wenyekui fab9d46c4d unit test of zset 2014-07-28 16:35:46 +08:00
holys d1362552c0 add more error input params tests 2014-07-28 01:58:55 +08:00
siddontang efa8e850f5 Merge branch 'storage-feature' into develop 2014-07-26 18:43:23 +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
wenyekui a586fa2f8f add unit tests 2014-07-25 17:27:07 +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
wenyekui deb30383c6 add unit test 2014-07-25 16:17:45 +08:00
wenyekui ee690fd35c add unit test 2014-07-25 15:18:39 +08:00