- 23 Dec, 2014 1 commit
-
-
Matt Stancliff authored
-
- 22 Dec, 2014 1 commit
-
-
Salvatore Sanfilippo authored
Memory leak fixes (+ code style fixes)
-
- 21 Dec, 2014 2 commits
-
-
Alon Diamant authored
-
Alon Diamant authored
1. memory leak in t_set.c has been fixed 2. end-of-line spaces has been removed (from all over the place) 3. for loops have been ordered up to match existing Redis style (less weird) 4. comments format has been fixed (added * in the beggining of every comment line)
-
- 19 Dec, 2014 1 commit
-
-
antirez authored
Fixes issue #2225.
-
- 18 Dec, 2014 2 commits
-
-
Salvatore Sanfilippo authored
Fix: case when SPOP with count>MAXINT, setTypeRandomElements() will get ...
-
Alon Diamant authored
Fix: case when SPOP with count>MAXINT, setTypeRandomElements() will get negative count argument due to signed/unsigned mismatch. setTypeRandomElements() now returns unsigned long, and also uses unsigned long for anything related to count of members. spopWithCountCommand() now uses unsigned long elements_returned instead of int, for values returned from setTypeRandomElements()
-
- 17 Dec, 2014 8 commits
-
-
Salvatore Sanfilippo authored
SPOP optional count argument. (issue #1793, supersedes pull request #1803)
-
Salvatore Sanfilippo authored
Cluster: Update accept error to mention error
-
antirez authored
-
antirez authored
See issue #2218.
-
git://github.com/mattsta/redisantirez authored
-
Matt Stancliff authored
If we woke up to accept a connection, but we can't accept it, inform the user of the error going on with their networking. (The previous message was the same for success or error!)
-
Salvatore Sanfilippo authored
Fix redis-sentinel symlink to a relative path
-
Rhommel Lamas authored
-
- 16 Dec, 2014 1 commit
-
-
antirez authored
-
- 15 Dec, 2014 1 commit
-
-
antirez authored
-
- 14 Dec, 2014 1 commit
-
-
Alon Diamant authored
spopCommand() now runs spopWithCountCommand() in case the <count> param is found. Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size. Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers(). Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof -- Cleaned up code a bit to match with required Redis coding style
-
- 13 Dec, 2014 3 commits
-
-
antirez authored
-
antirez authored
Otherwise there are security risks, especially when providing Redis as a service, the user may "sniff" for admin commands renamed to an unguessable string via rename-command in redis.conf.
-
antirez authored
The old list did not made much sense... and the flag is currently not used at all, so no side effects.
-
- 12 Dec, 2014 5 commits
-
-
Rhommel Lamas authored
-
antirez authored
-
antirez authored
It fixes a bad bug that crashes the server in certain conditions as shown in issue #2210.
-
Salvatore Sanfilippo authored
remove_warning in db.c
-
clark.kang authored
-
- 11 Dec, 2014 14 commits
-
-
antirez authored
Specialized single-use function. Not the best match for sds.c btw. Also genClientPeerId() is no longer static: we need symbols.
-
antirez authored
A few code style changes + consistent format: not nice for humans but better for parsers.
-
Matt Stancliff authored
There is no standard cross-platform way of obtaining system memory info, but I found a useful function convering all common platforms. I removed support for uncommon Redis platforms (windows, AIX) and left others intact. For more info, see: http://nadeausoftware.com/articles/2012/09/c_c_tip_how_get_physical_memory_size_system The system memory info is cached on startup, but some systems may be able to change the amount of memory visible to Redis at runtime if Redis is deployed in a VM or container. Also see #1820
-
Matt Stancliff authored
Also refactors getting human string values from the defined value in `server.maxmemory_policy` into a common function.
-
Matt Stancliff authored
Instead of manually checking for strchr(n,':') everywhere, we can use our new centralized IP formatting functions.
-
Matt Stancliff authored
This stops us from needing to manually check against ":" to add brackets around IPv6 addresses everywhere.
-
antirez authored
Related to #2094.
-
Salvatore Sanfilippo authored
Fix zero-ordering SORT when called against lists
-
Salvatore Sanfilippo authored
Update redis_init_script.tpl
-
antirez authored
-
antirez authored
-
Salvatore Sanfilippo authored
FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event
-
Salvatore Sanfilippo authored
Fix function prototype in redis-cli.c.
-
Salvatore Sanfilippo authored
Fix redis-trib import SCAN call
-