Commit Graph

184 Commits

Author SHA1 Message Date
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
wenyekui 42174ed78a unit test for cmd_hash.go 2014-07-25 11:55:56 +08:00
wenyekui c0f3c54f3b unit tests of cmd_bit 2014-07-24 17:19:44 +08:00
wenyekui 58cdace7df modify unit test 2014-07-24 15:36:25 +08:00
wenyekui ebdc1ee3ae support bson, msgpack 2014-07-24 15:06:39 +08:00
wenyekui 3f3ca8da63 modify error msg 2014-07-24 11:41:53 +08:00
wenyekui a6a760880d complete apis for the rest of cmds 2014-07-24 11:29:13 +08:00
wenyekui 0d01d7e7ed bug fix: argument checking of funtion 2014-07-23 17:10:06 +08:00
wenyekui f647c3d815 add file 2014-07-23 11:02:10 +08:00
wenyekui 1dd7d22198 add unit test 2014-07-23 10:59:37 +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
wenyekui 43905129b8 use '[]byte()' to convert string to []byte 2014-07-22 15:43:22 +08:00
wenyekui 1513d055f5 http api of bit cmds 2014-07-22 11:31:56 +08:00
siddontang f85da1db91 add base http framework 2014-07-17 15:19:46 +08:00
holys 633ced379c fix bitmap test 2014-07-17 00:44:40 +08:00
holys 8be1cf8b54 rename Bin to Bit 2014-07-13 00:31:30 +08:00
siddontang ac5c64aab8 add MasterInfo for replication 2014-07-11 16:57:19 +08:00
siddontang a41b1ef669 refactor, bin rename to bit, rename datatype 2014-07-11 13:27:40 +08:00
siddontang 55056660e3 add ledis-dump tool 2014-07-11 10:43:42 +08:00
silentsai febe8ee93d merge branch 'bin-feature' 2014-07-08 17:10:44 +08:00
siddontang 64a4fee577 replication use snappy 2014-07-04 17:55:47 +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