summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | optimized amFree even furtherDvir Volk2016-05-191-4/+9
| | | |
| * | | Optimized autoMemoryFreed loopDvir Volk2016-05-191-1/+4
| | | |
* | | | Modules doc: hint about replacing libc malloc calls.antirez2016-06-221-1/+15
| |/ / |/| |
* | | Merge pull request #3252 from oranagra/config_fixSalvatore Sanfilippo2016-06-171-3/+3
|\ \ \ | |_|/ |/| | fix: config set list-max-ziplist-size didn't support negative values
| * | config set list-max-ziplist-size didn't support negative values, unlike ↵oranagra2016-05-221-3/+3
| |/ | | | | | | config file
* | Fix Sentinel pending commands counting.antirez2016-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug most experienced effect was an inability of Redis to reconfigure back old masters to slaves after they are reachable again after a failover. This was due to failing to reset the count of the pending commands properly, so the master appeared fovever down. Was introduced in Redis 3.2 new Sentinel connection sharing feature which is a lot more complex than the 3.0 code, but more scalable. Many thanks to people reporting the issue, and especially to @sskorgal for investigating the issue in depth. Hopefully closes #3285.
* | redis-cli: really connect to the right server.antirez2016-06-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | I recently introduced populating the autocomplete help array with the COMMAND command if available. However this was performed before parsing the arguments, defaulting to instance 6379. After the connection is performed it remains stable. The effect is that if there is an instance running on port 6339, whatever port you specify is ignored and 6379 is connected to instead. The right port will be selected only after a reconnection. Close #3314.
* | RESTORE: accept RDB dumps with older versions.antirez2016-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference issue #3218. Checking the code I can't find a reason why the original RESTORE code was so opinionated about restoring only the current version. The code in to `rdb.c` appears to be capable as always to restore data from older versions of Redis, and the only places where it is needed the current version in order to correctly restore data, is while loading the opcodes, not the values itself as it happens in the case of RESTORE. For the above reasons, this commit enables RESTORE to accept older versions of values payloads.
* | Merge pull request #3255 from oranagra/error_stringSalvatore Sanfilippo2016-06-161-1/+1
|\ \ | | | | | | CLIENT error message was out of date
| * | CLIENT error message was out of dateoranagra2016-05-231-1/+1
| |/
* | Merge pull request #3256 from oranagra/georasius_negSalvatore Sanfilippo2016-06-161-2/+5
|\ \ | | | | | | fix georadius returns multiple replies
| * | fix georadius returns multiple repliesoranagra2016-05-231-2/+5
| |/
* | Minor aesthetic fixes to PR #3264.antirez2016-06-161-5/+5
| | | | | | | | | | | | | | Comment format fixed + local var modified from camel case to underscore separators as Redis code base normally does (camel case is mostly used for global symbols like structure names, function names, global vars, ...).
* | Merge pull request #3264 from oranagra/bitfield_fix2Salvatore Sanfilippo2016-06-161-9/+20
|\ \ | | | | | | fix crash in BITFIELD GET on non existing key or wrong type see #3259
| * | check WRONGTYPE in BITFIELD before looping on the operations.oranagra2016-05-241-9/+18
| | | | | | | | | | | | | | | optimization: lookup key only once, and grow at once to the max need fixes #3259 and #3221, and also an early return if wrongtype is discovered by SET
| * | fix crash in BITFIELD GET on non existing key or wrong type see #3259oranagra2016-05-241-3/+5
| | | | | | | | | | | | this was a bug in the recent refactoring: bee963c4459223d874e3294a0d8638a588d33c8e
* | | Merge pull request #3274 from MOON-CLJ/fix_promoted_slaveSalvatore Sanfilippo2016-06-151-1/+1
|\ \ \ | | | | | | | | Sentinel: fix check when can't send the command to the promoted slave
| * | | fix check when can't send the command to the promoted slaveMOON_CLJ2016-05-261-1/+1
| |/ /
* | | Merge pull request #3283 from ideal/unstableSalvatore Sanfilippo2016-06-151-1/+1
|\ \ \ | | | | | | | | fix mistake in comment in object.c
| * | | fix mistake comment in object.cideal2016-05-301-1/+1
| |/ /
* | | Merge pull request #3281 from jamespedwards42/unstableSalvatore Sanfilippo2016-06-151-4/+3
|\ \ \ | | | | | | | | Fix modules intro typos.
| * | | Fix modules intro typos.jamespedwards422016-05-291-4/+3
| |/ /
* | | GETRANGE: return empty string with negative, inverted start/end.antirez2016-06-152-2/+6
| | |
* | | Remove additional round brackets from fix for #3282.antirez2016-06-151-1/+1
| | |
* | | Merge pull request #3282 from wenduo/unstableSalvatore Sanfilippo2016-06-151-0/+4
|\ \ \ | | | | | | | | bitcount bug:return non-zero value when start > end (both negative)
| * | | bitcount bug:return non-zero value when start > end (both negative)wenduo2016-05-301-0/+4
| |/ /
* | | BSDs don't have -ldlzach shipko2016-06-141-5/+15
| | |
* | | TTL and TYPE LRU access fixed. TOUCH implemented.antirez2016-06-143-8/+60
| | |
* | | redis-cli help.h updated.antirez2016-06-141-8/+13
| | |
* | | Modules: document how to pass config params to modules.antirez2016-06-131-1/+19
| | | | | | | | | | | | Related to #3293.
* | | Fix example modules to have the right OnLoad() prototype.antirez2016-06-132-2/+8
| | | | | | | | | | | | Related to #3293.
* | | Don't assume no padding or specific ordering in moduleLoadQueueEntry structure.antirez2016-06-132-3/+4
| | | | | | | | | | | | | | | | | | | | | We need to be free to shuffle fields or add more fields in a structure without breaking code. Related to issue #3293.
* | | Free module context after loading.antirez2016-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Now that modules receive RedisModuleString objects on loading, they are allowed to call the String API, so the context must be released correctly. Related to #3293.
* | | Make sure modules arguments are raw strings.antirez2016-06-131-1/+1
| | | | | | | | | | | | Related to PR #3293.
* | | Minor changes to unifor C style to Redis code base for PR #3293.antirez2016-06-133-6/+8
| | |
* | | Merge pull request #3293 from yossigo/module_configSalvatore Sanfilippo2016-06-133-13/+40
|\ \ \ | | | | | | | | Allow passing arguments to modules on load.
| * | | Use RedisModuleString for OnLoad argv.Yossi Gottlieb2016-06-053-11/+5
| | | |
| * | | Allow passing arguments to modules on load.Yossi Gottlieb2016-06-053-13/+46
| | | |
* | | | Fix typo: after -> before.antirez2016-06-101-1/+1
| | | |
* | | | Explain why module type names are 9 chars.antirez2016-06-101-0/+52
| | | |
* | | | Merge pull request #3295 from catwell/pr-1-warningsSalvatore Sanfilippo2016-06-103-10/+17
|\ \ \ \ | | | | | | | | | | fix some compiler warnings
| * | | | fix some compiler warningsPierre Chapuis2016-06-053-10/+17
| |/ / /
* | | | Merge pull request #3294 from yossigo/fix_unloadSalvatore Sanfilippo2016-06-101-7/+14
|\ \ \ \ | | | | | | | | | | Fix MODULE UNLOAD crash and/or wrong error message.
| * | | | Fix MODULE UNLOAD crash and/or wrong error message.Yossi Gottlieb2016-06-051-7/+14
| |/ / /
* | | | Remove tryObjectEncoding() calls from list type.antirez2016-06-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All lists are now represented via quicklists. Quicklists are never represented referencing robj structures, so trying to compress their representation does not make sense. That the new way is faster was experimentally verified with micro benchmarks in order to prove that the intuition was correct.
* | | | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2016-06-102-41/+53
|\ \ \ \
| * \ \ \ Merge pull request #3296 from catwell/pr-2-variadic-pushxSalvatore Sanfilippo2016-06-102-41/+53
| |\ \ \ \ | | | | | | | | | | | | make RPUSHX and LPUSHX variadic
| | * | | | make RPUSHX and LPUSHX variadicPierre Chapuis2016-06-052-8/+15
| | | | | |
| | * | | | remove unused variablePierre Chapuis2016-06-051-2/+2
| | | | | |
| | * | | | untangle LINSERT and {L,R}PUSHX implementationsPierre Chapuis2016-06-051-40/+45
| | |/ / /