Commit Graph

166 Commits

Author SHA1 Message Date
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
siddontang 1e6bcc6a50 bugfix for revrangebyscore command
min and max score param position may be same as redis
2014-07-01 07:55:34 +08:00
siddontang e5c9ad8716 expire bug fix 2014-06-30 11:23:14 +08:00
siddontang 46d2ecda91 add hmclear, lmclear and zmclear for multi keys 2014-06-27 16:28:32 +08:00
siddontang d85d65d0f2 update doc 2014-06-25 12:57:19 +08:00
siddontang 31e70ccd02 add persist command 2014-06-24 12:44:47 +08:00
siddontang 794cb12ba4 update document 2014-06-22 21:13:57 +08:00
siddontang d45a82897f update document 2014-06-22 21:05:52 +08:00
siddontang cdb78498af ledis use proper return values not []interface{}
This is a very big change and not backward compatible
2014-06-22 15:25:51 +08:00
siddontang 594f6a5d0d use ledis client 2014-06-22 10:39:23 +08:00
siddontang 9e09e607c8 heel use iterator to multi find and delete 2014-06-20 10:12:50 +08:00
siddontang c5af770387 use my own log 2014-06-19 17:50:27 +08:00
siddontang 50bd648e0c copy garyburd redid lib to client 2014-06-19 17:46:20 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00
silentsai 852fce9f4c add server commands of expire/ttl 2014-06-16 19:24:37 +08:00
siddontang 9e3dfc2191 replication bugfix 2014-06-12 21:29:41 +08:00
siddontang 8592324a2f optimize access log 2014-06-12 14:10:29 +08:00
siddontang 5a902fc9d1 set args must be 2 2014-06-11 16:49:17 +08:00
siddontang 655db07604 add access log 2014-06-11 16:48:11 +08:00