- 07 Mar, 2015 1 commit
-
-
antirez authored
This was a test to check how much faster native implementation would be. In initial tests it does not look like is this huge win. After all this is at least in part obvious. Now scripting.c tries to avoid allocations of argument vectors, and turning ":1" accumulated in the client buffer into a Lua type is a fast operation.
-
- 06 Mar, 2015 1 commit
-
-
antirez authored
-
- 04 Mar, 2015 1 commit
-
-
antirez authored
Itereator misuse due to analyzeLatencyForEvent() accessing the dictionary during the iteration, without the iterator being reclared as safe.
-
- 27 Feb, 2015 11 commits
-
-
antirez authored
-
antirez authored
Should be much faster, and regardless, the code is more obvious now compared to generating a string just to get the return value of the ll2stirng() function.
-
antirez authored
-
antirez authored
Main point here is to correctly report LLONG_MIN length, since to take the absolute value we need care in sdigits10().
-
antirez authored
-
antirez authored
1. HVSTRLEN -> HSTRLEN. It's unlikely one needs the length of the key, not clear how the API would work (by value does not make sense) and there will be better names anyway. 2. Default is to return 0 when field is missing. 3. Default is to return 0 when key is missing. 4. The implementation was slower than needed, and produced unnecessary COW. Related issue #2415.
-
antirez authored
-
Salvatore Sanfilippo authored
added a new hvstrlen command
-
antirez authored
-
antirez authored
-
antirez authored
Thanks to @codeslinger (Toby DiPasquale) for identifying the issue. Related to issue #2409.
-
- 26 Feb, 2015 2 commits
-
-
antirez authored
1. Remove useless "cs" initialization. 2. Add a "select" var to capture a condition checked multiple times. 3. Avoid duplication of the same if (!copy) conditional. 4. Don't increment dirty if copy is given (no deletion is performed), otherwise we propagate MIGRATE when not needed.
-
Tommy Wang authored
Avoid redundant SELECT calls when continuously migrating keys to the same dbid within a target Redis instance.
-
- 25 Feb, 2015 7 commits
-
-
antirez authored
-
Salvatore Sanfilippo authored
rehashing.c: Fix compile error originating from SPOP rewrite
-
antirez authored
-
antirez authored
This is safe since bufpos is small, inside the range of the local client buffer.
-
antirez authored
-
Salvatore Sanfilippo authored
Bitops: Stop overallocating storage space on set
-
Salvatore Sanfilippo authored
Sentinel: Add initial quorum bounds check
-
- 24 Feb, 2015 5 commits
-
-
Matt Stancliff authored
Revert some size_t back to off_t Set reply_bytes needs to 64 bits everywhere Revert bufpos to int since it's a max of 16k into buf[]
-
Salvatore Sanfilippo authored
Improve type correctness
-
Salvatore Sanfilippo authored
Sentinel: Improve INFO command behavior
-
Salvatore Sanfilippo authored
Improve consistency of INFO MEMORY
-
Salvatore Sanfilippo authored
Fix quicklist Pop()
-
- 23 Feb, 2015 1 commit
-
-
antirez authored
Fixes issue #2392.
-
- 21 Feb, 2015 1 commit
-
-
Jason Roth authored
the hvstrlen command returns the length of a hash field value
-
- 19 Feb, 2015 2 commits
-
-
antirez authored
-
antirez authored
It's hard to pick a good approach here. A few arguments: 1) There are many exposed instances on the internet. 2) Changing the default when "bind" is not given is very dangerous, after an upgrade the server changes a fundamental behavior. 3) Usually Redis, when used in a proper way, will be protected *and* accessed often from other computers, so this new default is likely not what most people want. 4) However if users end with this default, they are using the example redis.conf: likely they are reading what is inside, and they'll see the warning.
-
- 18 Feb, 2015 1 commit
-
-
Sisir Koppaka authored
-
- 17 Feb, 2015 2 commits
-
-
Matt Stancliff authored
Now the tests actually compare return values instead of just verifying _something_ got returned.
-
John Doe authored
Closes #2398
-
- 14 Feb, 2015 2 commits
- 13 Feb, 2015 3 commits
-
-
Salvatore Sanfilippo authored
Readme fix
-
Jan-Erik Rediger authored
-
antirez authored
Apparently no refernece-style links supported in Github markdown.
-