summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* replicaofCommand() refactoring: stay into 80 cols.antirez2019-03-181-2/+5
|
* redis-check-aof: fix potential overflow.antirez2019-03-181-2/+2
| | | | Bug signaled by @vattezhang in PR #5940 but fixed differently.
* HyperLogLog: fix comment in hllCount().antirez2019-03-161-2/+2
|
* HyperLogLog: handle wrong offset in the base case.antirez2019-03-151-6/+2
|
* HyperLogLog: enlarge reghisto variable for safety.antirez2019-03-151-1/+6
|
* Fix hyperloglog corruptionJohn Sully2019-03-151-0/+6
|
* Fix ZPOP return type when COUNT=0. Related to #5799.antirez2019-03-141-1/+1
|
* Fix objectSetLRUOrLFU() when LFU underflows.antirez2019-03-141-7/+11
|
* Improve comments after merging #5834.antirez2019-03-142-8/+14
|
* Merge pull request #5834 from guybe7/trim_module_sdsSalvatore Sanfilippo2019-03-144-5/+28
|\ | | | | Trim SDS free space of retained module strings
| * Trim SDS free space of retained module stringsGuy Benoish2019-02-124-5/+28
| | | | | | | | | | | | | | | | | | In some cases processMultibulkBuffer uses sdsMakeRoomFor to expand the querybuf, but later in some cases it uses that query buffer as is for an argv element (see "Optimization"), which means that the sds in argv may have a lot of wasted space, and then in case modules keep that argv RedisString inside their data structure, this space waste will remain for long (until restarted from rdb).
* | Fix mismatching keyspace notification classesGuy Benoish2019-03-142-2/+2
| |
* | Merge pull request #4742 from guybe7/zrangebylex_leakSalvatore Sanfilippo2019-03-141-1/+4
|\ \ | | | | | | Fix zlexrangespec mem-leak in genericZrangebylexCommand
| * | Fix zlexrangespec mem-leak in genericZrangebylexCommandGuy Benoish2018-03-071-1/+4
| | |
* | | Merge pull request #4904 from guybe7/memtoll_fixSalvatore Sanfilippo2019-03-141-2/+2
|\ \ \ | | | | | | | | Use memtoll() in 'CONFIG SET client-output-buffer-limit'
| * | | Use memtoll() in 'CONFIG SET client-output-buffer-limit'Guy Benoish2018-04-181-2/+2
| | | |
* | | | Merge pull request #5812 from guybe7/fix_string2ldSalvatore Sanfilippo2019-03-142-1/+5
|\ \ \ \ | | | | | | | | | | Increase string2ld's buffer size (and fix HINCRBYFLOAT)
| * | | | Increase string2ld's buffer size (and fix HINCRBYFLOAT)Guy Benoish2019-01-282-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The string representation of `long double` may take up to ~5000 chars (see PR #3745). Before this fix HINCRBYFLOAT would never overflow (since the string could not exceed 256 chars). Now it can.
* | | | | Merge pull request #5694 from guybe7/rm_log_argsSalvatore Sanfilippo2019-03-141-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Check server.verbosity in RM_LogRaw
| * | | | | Check server.verbosity in RM_LogRawGuy Benoish2018-12-131-0/+2
| | | | | |
* | | | | | Merge pull request #5799 from guybe7/zpop_zero_countSalvatore Sanfilippo2019-03-141-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | ZPOP should return an empty array if COUNT=0
| * | | | | | ZPOP should return an empty array if COUNT=0Guy Benoish2019-01-231-1/+4
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'sharedapi' into unstableantirez2019-03-143-5/+153
|\ \ \ \ \ \
| * | | | | | Modules shared API: export new core APIs.sharedapiantirez2018-12-202-0/+6
| | | | | | |
| * | | | | | Modules shared API: also unregister the module as user.antirez2018-12-201-0/+23
| | | | | | |
| * | | | | | Modules shared API: prevent unloading of used modules.antirez2018-12-201-4/+10
| | | | | | |
| * | | | | | Modules shared API: unregister APIs function.antirez2018-12-201-0/+25
| | | | | | |
| * | | | | | Modules shared API: initial core functions.antirez2018-12-202-1/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on ideas and code in PR #5560 by @MeirShpilraien.
| * | | | | | Revert shared APIs to modify the design.antirez2018-12-203-120/+0
| | | | | | |
| * | | | | | added module ability to register api to be used by other modulesMeirShpilraien2018-12-203-0/+120
| | | | | | |
* | | | | | | Merge pull request #5787 from soloestoy/bugfix-xgroup-create-with-mkstreamSalvatore Sanfilippo2019-03-131-5/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Streams: checkType before XGROUP CREATE
| * | | | | | | Streams: checkType before XGROUP CREATEzhaozhao.zz2019-01-161-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #5785, in case create group on a key is not stream.
* | | | | | | | Merge pull request #5893 from itamarhaber/bzpop-aritySalvatore Sanfilippo2019-03-131-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fixes BZ[REV]POP's arity
| * | | | | | | | Fixes BZ[REV]POP's arityItamar Haber2019-03-031-2/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #5898 from bsolomon1124/make-uninstall-tgtSalvatore Sanfilippo2019-03-131-0/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Provide an uninstall target in Makefile
| * | | | | | | | | Provide an uninstall target in MakefileBrad Solomon2019-03-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On `make uninstall`, removes: - /usr/local/bin/redis-benchmark - /usr/local/bin/redis-check-aof - /usr/local/bin/redis-check-rdb - /usr/local/bin/redis-cli - /usr/local/bin/redis-sentinel - /usr/local/bin/redis-server (Only the src/ versions are removed in `make clean`)
* | | | | | | | | | Merge pull request #5884 from chendq8/cluster_failoverSalvatore Sanfilippo2019-03-131-0/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Reduce 100ms of cluster failover time on Manual mode
| * | | | | | | | | | optimize cluster failoverchendianqiang2019-03-011-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #5901 from artix75/bm_threads_cluster_devSalvatore Sanfilippo2019-03-131-56/+72
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Redis Benchmark: add multithread idle mode
| * | | | | | | | | | | Redis Benchmark: fix possible usage of freed pointer (getRedisConfig)artix2019-03-121-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue #5912
| * | | | | | | | | | | Redis Benchmark: handle CLUSTERDOWN errorartix2019-03-081-20/+20
| | | | | | | | | | | |
| * | | | | | | | | | | Redis Benchmark: fix key randomization with zero keyspacelenartix2019-03-071-1/+8
| | | | | | | | | | | |
| * | | | | | | | | | | Redis Benchmark: add multithread idle modeartix2019-03-071-22/+33
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #5891
* | | | | | | | | | | Merge pull request #5921 from vattezhang/unstable_tempSalvatore Sanfilippo2019-03-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix: fix the if condition in clusterManagerShowClusterInfo
| * | | | | | | | | | | fix: fix the if condition in clusterManagerShowClusterInfovattezhang2019-03-121-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #5907 from spjwebster/xclaim-increment-delivery-countSalvatore Sanfilippo2019-03-131-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Increment delivery counter on XCLAIM unless RETRYCOUNT specified
| * | | | | | | | | | | | Only increment delivery count if JUSTID option is omittedSteve Webster2019-03-121-2/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Increment delivery counter on XCLAIM unless RETRYCOUNT specifiedSteve Webster2019-03-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XCLAIM docs state the XCLAIM increments the delivery counter for messages. This PR makes the code match the documentation - which seems like the desired behaviour - whilst still allowing RETRYCOUNT to be specified manually. My understanding of the way streamPropagateXCLAIM() works is that this change will safely propagate to replicas since retry count is pulled directly from the streamNACK struct. Fixes #5194
* | | | | | | | | | | | | Merge pull request #5924 from swilly22/redismodule-replicated-cmd-ctx-flagSalvatore Sanfilippo2019-03-131-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | document additional flag of RM_GetContextFlags
| * | | | | | | | | | | | | document additional flag of RM_GetContextFlagsswilly222019-03-131-0/+3
| | | | | | | | | | | | | |