mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
Aman Gupta changes merged
This commit is contained in:
parent
6d4371d469
commit
d214bb4894
3
TODO
3
TODO
@ -18,7 +18,8 @@ BEFORE REDIS 1.0.0-rc1
|
|||||||
AFTER 1.0 stable release
|
AFTER 1.0 stable release
|
||||||
|
|
||||||
* Consistent hashing implemented in all the client libraries having an user base
|
* Consistent hashing implemented in all the client libraries having an user base
|
||||||
* Use partial qsort for SORT + LIMIT. Don't copy the list into a vector when BY argument is constant.
|
* SORT: Don't copy the list into a vector when BY argument is constant.
|
||||||
|
* SORT ... STORE keyname. Instead to return the SORTed data set it into key.
|
||||||
* Profiling and optimization in order to limit the CPU usage at minimum
|
* Profiling and optimization in order to limit the CPU usage at minimum
|
||||||
* Write the hash table size of every db in the dump, so that Redis can resize the hash table just one time when loading a big DB.
|
* Write the hash table size of every db in the dump, so that Redis can resize the hash table just one time when loading a big DB.
|
||||||
* Elapsed time in logs for SAVE when saving is going to take more than 2 seconds
|
* Elapsed time in logs for SAVE when saving is going to take more than 2 seconds
|
||||||
|
@ -481,11 +481,6 @@ proc main {server port} {
|
|||||||
lsort [$r smembers setres]
|
lsort [$r smembers setres]
|
||||||
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
||||||
|
|
||||||
test {SUNIONSTORE with same src and dest} {
|
|
||||||
$r sunionstore set1 set1 set1
|
|
||||||
$r scard set1
|
|
||||||
} {1000}
|
|
||||||
|
|
||||||
test {SINTER against three sets} {
|
test {SINTER against three sets} {
|
||||||
$r sadd set3 999
|
$r sadd set3 999
|
||||||
$r sadd set3 995
|
$r sadd set3 995
|
||||||
@ -499,11 +494,6 @@ proc main {server port} {
|
|||||||
lsort [$r smembers setres]
|
lsort [$r smembers setres]
|
||||||
} {995 999}
|
} {995 999}
|
||||||
|
|
||||||
test {SINTERSTORE with same src and dest} {
|
|
||||||
$r sinterstore set1 set1 set1
|
|
||||||
$r scard set1
|
|
||||||
} {1000}
|
|
||||||
|
|
||||||
test {SUNION with non existing keys} {
|
test {SUNION with non existing keys} {
|
||||||
lsort [$r sunion nokey1 set1 set2 nokey2]
|
lsort [$r sunion nokey1 set1 set2 nokey2]
|
||||||
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user