Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | optimized amFree even further | Dvir Volk | 2016-05-19 | 1 | -4/+9 | |
| | | | | ||||||
| * | | | Optimized autoMemoryFreed loop | Dvir Volk | 2016-05-19 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | Modules doc: hint about replacing libc malloc calls. | antirez | 2016-06-22 | 1 | -1/+15 | |
| |/ / |/| | | ||||||
* | | | Merge pull request #3252 from oranagra/config_fix | Salvatore Sanfilippo | 2016-06-17 | 1 | -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 ↵ | oranagra | 2016-05-22 | 1 | -3/+3 | |
| |/ | | | | | | | config file | |||||
* | | Fix Sentinel pending commands counting. | antirez | 2016-06-16 | 1 | -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. | antirez | 2016-06-16 | 1 | -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. | antirez | 2016-06-16 | 1 | -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_string | Salvatore Sanfilippo | 2016-06-16 | 1 | -1/+1 | |
|\ \ | | | | | | | CLIENT error message was out of date | |||||
| * | | CLIENT error message was out of date | oranagra | 2016-05-23 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge pull request #3256 from oranagra/georasius_neg | Salvatore Sanfilippo | 2016-06-16 | 1 | -2/+5 | |
|\ \ | | | | | | | fix georadius returns multiple replies | |||||
| * | | fix georadius returns multiple replies | oranagra | 2016-05-23 | 1 | -2/+5 | |
| |/ | ||||||
* | | Minor aesthetic fixes to PR #3264. | antirez | 2016-06-16 | 1 | -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_fix2 | Salvatore Sanfilippo | 2016-06-16 | 1 | -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. | oranagra | 2016-05-24 | 1 | -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 #3259 | oranagra | 2016-05-24 | 1 | -3/+5 | |
| | | | | | | | | | | | | this was a bug in the recent refactoring: bee963c4459223d874e3294a0d8638a588d33c8e | |||||
* | | | Merge pull request #3274 from MOON-CLJ/fix_promoted_slave | Salvatore Sanfilippo | 2016-06-15 | 1 | -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 slave | MOON_CLJ | 2016-05-26 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge pull request #3283 from ideal/unstable | Salvatore Sanfilippo | 2016-06-15 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | fix mistake in comment in object.c | |||||
| * | | | fix mistake comment in object.c | ideal | 2016-05-30 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge pull request #3281 from jamespedwards42/unstable | Salvatore Sanfilippo | 2016-06-15 | 1 | -4/+3 | |
|\ \ \ | | | | | | | | | Fix modules intro typos. | |||||
| * | | | Fix modules intro typos. | jamespedwards42 | 2016-05-29 | 1 | -4/+3 | |
| |/ / | ||||||
* | | | GETRANGE: return empty string with negative, inverted start/end. | antirez | 2016-06-15 | 2 | -2/+6 | |
| | | | ||||||
* | | | Remove additional round brackets from fix for #3282. | antirez | 2016-06-15 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #3282 from wenduo/unstable | Salvatore Sanfilippo | 2016-06-15 | 1 | -0/+4 | |
|\ \ \ | | | | | | | | | bitcount bug:return non-zero value when start > end (both negative) | |||||
| * | | | bitcount bug:return non-zero value when start > end (both negative) | wenduo | 2016-05-30 | 1 | -0/+4 | |
| |/ / | ||||||
* | | | BSDs don't have -ldl | zach shipko | 2016-06-14 | 1 | -5/+15 | |
| | | | ||||||
* | | | TTL and TYPE LRU access fixed. TOUCH implemented. | antirez | 2016-06-14 | 3 | -8/+60 | |
| | | | ||||||
* | | | redis-cli help.h updated. | antirez | 2016-06-14 | 1 | -8/+13 | |
| | | | ||||||
* | | | Modules: document how to pass config params to modules. | antirez | 2016-06-13 | 1 | -1/+19 | |
| | | | | | | | | | | | | Related to #3293. | |||||
* | | | Fix example modules to have the right OnLoad() prototype. | antirez | 2016-06-13 | 2 | -2/+8 | |
| | | | | | | | | | | | | Related to #3293. | |||||
* | | | Don't assume no padding or specific ordering in moduleLoadQueueEntry structure. | antirez | 2016-06-13 | 2 | -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. | antirez | 2016-06-13 | 1 | -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. | antirez | 2016-06-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | Related to PR #3293. | |||||
* | | | Minor changes to unifor C style to Redis code base for PR #3293. | antirez | 2016-06-13 | 3 | -6/+8 | |
| | | | ||||||
* | | | Merge pull request #3293 from yossigo/module_config | Salvatore Sanfilippo | 2016-06-13 | 3 | -13/+40 | |
|\ \ \ | | | | | | | | | Allow passing arguments to modules on load. | |||||
| * | | | Use RedisModuleString for OnLoad argv. | Yossi Gottlieb | 2016-06-05 | 3 | -11/+5 | |
| | | | | ||||||
| * | | | Allow passing arguments to modules on load. | Yossi Gottlieb | 2016-06-05 | 3 | -13/+46 | |
| | | | | ||||||
* | | | | Fix typo: after -> before. | antirez | 2016-06-10 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Explain why module type names are 9 chars. | antirez | 2016-06-10 | 1 | -0/+52 | |
| | | | | ||||||
* | | | | Merge pull request #3295 from catwell/pr-1-warnings | Salvatore Sanfilippo | 2016-06-10 | 3 | -10/+17 | |
|\ \ \ \ | | | | | | | | | | | fix some compiler warnings | |||||
| * | | | | fix some compiler warnings | Pierre Chapuis | 2016-06-05 | 3 | -10/+17 | |
| |/ / / | ||||||
* | | | | Merge pull request #3294 from yossigo/fix_unload | Salvatore Sanfilippo | 2016-06-10 | 1 | -7/+14 | |
|\ \ \ \ | | | | | | | | | | | Fix MODULE UNLOAD crash and/or wrong error message. | |||||
| * | | | | Fix MODULE UNLOAD crash and/or wrong error message. | Yossi Gottlieb | 2016-06-05 | 1 | -7/+14 | |
| |/ / / | ||||||
* | | | | Remove tryObjectEncoding() calls from list type. | antirez | 2016-06-10 | 1 | -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 unstable | antirez | 2016-06-10 | 2 | -41/+53 | |
|\ \ \ \ | ||||||
| * \ \ \ | Merge pull request #3296 from catwell/pr-2-variadic-pushx | Salvatore Sanfilippo | 2016-06-10 | 2 | -41/+53 | |
| |\ \ \ \ | | | | | | | | | | | | | make RPUSHX and LPUSHX variadic | |||||
| | * | | | | make RPUSHX and LPUSHX variadic | Pierre Chapuis | 2016-06-05 | 2 | -8/+15 | |
| | | | | | | ||||||
| | * | | | | remove unused variable | Pierre Chapuis | 2016-06-05 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | untangle LINSERT and {L,R}PUSHX implementations | Pierre Chapuis | 2016-06-05 | 1 | -40/+45 | |
| | |/ / / |