siddontang
|
b413802fd8
|
store reduce pointer alloc
|
2014-07-29 22:30:59 +08:00 |
siddontang
|
a712a95d0d
|
remove BatchWrite Close
leveled and rocksdb use runtime SetFinalizer instead
|
2014-07-29 22:23:50 +08:00 |
siddontang
|
efa8e850f5
|
Merge branch 'storage-feature' into develop
|
2014-07-26 18:43:23 +08:00 |
siddontang
|
6279eeadf8
|
add rocksdb support
|
2014-07-26 18:39:54 +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 |
holys
|
fe881ba03c
|
add errer input params test for kv; fix typo for t_kv.go
|
2014-07-25 17:26:29 +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 |
silentsai
|
325f153885
|
correct using of iterator raw func in bit api
|
2014-07-22 17:56:51 +08:00 |
silentsai
|
dd1db989f4
|
optimize memory cost while iterating data segments in bitmap
|
2014-07-21 17:48:44 +08:00 |
silentsai
|
5eed29a4db
|
add some test for the bit type
|
2014-07-16 15:26:54 +08:00 |
silentsai
|
3da485602b
|
problem of incorrect bit count within specified pos range is solved; corret itoperation return value
|
2014-07-16 11:48:02 +08:00 |
siddontang
|
4f203e9b5d
|
parseint bitsize is 8
|
2014-07-16 11:29:44 +08:00 |
siddontang
|
eec14806d2
|
add support for read and print bin log
|
2014-07-11 13:28:34 +08:00 |
siddontang
|
a41b1ef669
|
refactor, bin rename to bit, rename datatype
|
2014-07-11 13:27:40 +08:00 |
siddontang
|
cdb6b1cdd2
|
use iterator to read many consistently in api
for a read api, it not uses lock, so multi read in a api may cause some
unpredictable when something writes at same time.
|
2014-07-10 11:32:37 +08:00 |
siddontang
|
5e33e67d89
|
refactor t/l, reduce code
not backwards compatibility,
|
2014-07-09 17:01:33 +08:00 |
siddontang
|
dfb9c90412
|
update documents
|
2014-07-09 09:33:48 +08:00 |
silentsai
|
febe8ee93d
|
merge branch 'bin-feature'
|
2014-07-08 17:10:44 +08:00 |
silentsai
|
fd248aaa35
|
Merge branch 'bin-feature' into develop
|
2014-07-08 16:36:03 +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
|
0fd6c150e8
|
Optimize memory copy
|
2014-07-07 15:36:45 +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 |
silentsai
|
1a48d08d66
|
BMSetBit - offer a way to set multi bit during an api call; also fix offset parse bug.
|
2014-07-03 17:52:03 +08:00 |
silentsai
|
2dbf643b16
|
expire on the bin type is available
|
2014-07-03 11:38:52 +08:00 |
siddontang
|
b13ce1329a
|
bugfix for lrange
adjust start and end to be same as redid
|
2014-07-01 09:21:14 +08:00 |
silentsai
|
70018092fe
|
offer function 'xor' 'not' in bit operation
|
2014-06-30 18:00:14 +08:00 |
siddontang
|
cd194dff48
|
add bin
|
2014-06-30 10:50:42 +08:00 |
siddontang
|
86366bbdc5
|
move bin to another branch
|
2014-06-30 10:49:32 +08:00 |
siddontang
|
46d2ecda91
|
add hmclear, lmclear and zmclear for multi keys
|
2014-06-27 16:28:32 +08:00 |
silentsai
|
c2cfc60cf8
|
solve bitop problem while inexisting srckeys occours
|
2014-06-27 11:54:04 +08:00 |
silentsai
|
a404ef26c0
|
fix the problem causes from using a global empty segment
|
2014-06-27 11:00:01 +08:00 |
silentsai
|
66806d782a
|
newly support of bit operation 'and' and 'or' for the bin type
|
2014-06-26 16:27:25 +08:00 |
siddontang
|
d85d65d0f2
|
update doc
|
2014-06-25 12:57:19 +08:00 |
silentsai
|
8c3ac7ebfb
|
fix problem of size calculation in bin type, and add 'btail' api
|
2014-06-24 12:00:41 +08:00 |
silentsai
|
5be09d5836
|
new type - bin
|
2014-06-23 20:09:05 +08:00 |
siddontang
|
b3e0ce9ae2
|
add persist support
|
2014-06-23 11:12:20 +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
|
9680161559
|
Merge branch 'develop'
|
2014-06-22 15:28:09 +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
|
8e8f3704e6
|
Merge branch 'develop'
|
2014-06-20 10:13:52 +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
|
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 |
siddontang
|
3875511040
|
Merge branch 'develop'
|
2014-06-12 12:27:47 +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
|
00b5fb4b24
|
a liitle change
|
2014-06-11 14:52:34 +08:00 |
siddontang
|
ebd15e5738
|
add replication test
|
2014-06-10 10:41:50 +08:00 |
siddontang
|
ef22d7000d
|
add replication, test later
|
2014-06-09 17:23:32 +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 |
silentsai
|
778f8f4a2b
|
fullfill test case for various data type
|
2014-06-06 14:38:32 +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 |
silentsai
|
8d76a58e5e
|
supply function of expire/ttl for the other data types - list, hash, zset
fix tiny mistaks
|
2014-06-05 17:04:01 +08:00 |
siddontang
|
be0464a21c
|
add relay log, add quit channel
|
2014-06-05 15:59:10 +08:00 |
siddontang
|
51349ea12a
|
don't export some error
|
2014-06-05 15:46:38 +08:00 |
siddontang
|
f702354738
|
Merge branch 'zset_score' into develop
|
2014-06-05 14:26:27 +08:00 |
siddontang
|
5ea473b4fe
|
Merge branch 'zset_score'
|
2014-06-05 14:21:50 +08:00 |
silentsai
|
d0e15d4c1d
|
fix bug - unify the return score type to bluk while call rangeXXX
|
2014-06-05 11:49:12 +08:00 |
silentsai
|
dee78beef1
|
fix the type of return value from zscore command
|
2014-06-05 10:20:50 +08:00 |
silentsai
|
4a5f105449
|
change the type of return score
|
2014-06-04 18:32:23 +08:00 |
siddontang
|
7a0c5bcd17
|
add replicate for relay log
|
2014-06-04 14:42:13 +08:00 |
silentsai
|
a7eb1e1884
|
for test cases : do remove db file instead of call function db.clear at the very start
|
2014-06-04 14:29:21 +08:00 |
silentsai
|
654a0a4704
|
add expire for the kv type; simplify the listMetaKey format
|
2014-06-03 15:41:17 +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
|
93491791d5
|
add dump and load
|
2014-05-28 14:20:45 +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 |
siddontang
|
bd38e693f2
|
bug fix for kv scan, add scan test
|
2014-05-26 09:21:17 +08:00 |
siddontang
|
39c88b956c
|
add hscan and zscan
|
2014-05-25 14:01:35 +08:00 |
siddontang
|
8038a54cdb
|
add inclusive flag for scan
|
2014-05-23 13:06:44 +08:00 |
siddontang
|
f404e35142
|
remove scan cmd, we implement a little diff
|
2014-05-23 12:39:56 +08:00 |
siddontang
|
581a492f78
|
permit 0 length key, field and member
|
2014-05-23 12:23:20 +08:00 |
siddontang
|
81a5587c99
|
add simple support for kv scan
|
2014-05-23 11:44:50 +08:00 |
silentsai
|
84a70ad0c0
|
add the missing code file for the db flush
|
2014-05-22 20:02:22 +08:00 |
silentsai
|
247f105ad7
|
add 'FlusbDB' api, which used to clear all data on the specific db
|
2014-05-22 19:59:40 +08:00 |
silentsai
|
68b28fe656
|
remove 'FlushDB' from test
|
2014-05-22 12:53:44 +08:00 |
silentsai
|
10dc7ccd15
|
update
|
2014-05-22 12:52:09 +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 |
siddontang
|
d3eabcd440
|
add const.go
|
2014-05-16 15:04:35 +08:00 |
siddontang
|
a0f90016d4
|
refactor, split ledis pkg to ledis and server
|
2014-05-16 15:03:23 +08:00 |
siddontang
|
f9f7d24e58
|
add some db base test
|
2014-05-16 10:36:18 +08:00 |
siddontang
|
6152d75160
|
update config format
|
2014-05-16 09:42:27 +08:00 |
siddontang
|
b2ec29083d
|
update test
|
2014-05-16 09:10:09 +08:00 |