Salvatore Sanfilippo
cb44f7ece0
Merge pull request #5907 from spjwebster/xclaim-increment-delivery-count
...
Increment delivery counter on XCLAIM unless RETRYCOUNT specified
2019-03-13 11:55:46 +01:00
Salvatore Sanfilippo
f3f49db067
Merge pull request #5924 from swilly22/redismodule-replicated-cmd-ctx-flag
...
document additional flag of RM_GetContextFlags
2019-03-13 11:52:07 +01:00
Salvatore Sanfilippo
e73f7b3a84
Merge pull request #5894 from soloestoy/fix-rdb-warning
...
Fix compile some warnings
2019-03-13 11:47:48 +01:00
zhaozhao.zz
9fd8f0df98
Fix compile warning in redis-cli.c
2019-03-13 16:54:34 +08:00
swilly22
31625ad5b1
document additional flag of RM_GetContextFlags
2019-03-13 08:22:40 +02:00
Steve Webster
c652f706cb
Only increment delivery count if JUSTID option is omitted
2019-03-12 20:27:53 +00:00
Salvatore Sanfilippo
685d10894b
Merge pull request #2774 from rouzier/blocking-list-commands-support-milliseconds-floating
...
Added millisecond resolution for blpop command && friends
2019-03-12 18:10:28 +01:00
Salvatore Sanfilippo
d70014ec0e
Merge pull request #5913 from wurongxin1987/unstable
...
fix a bufferoverflow bug
2019-03-12 17:25:21 +01:00
Salvatore Sanfilippo
b6350da979
Merge pull request #5900 from artix75/cluster_backup
...
Cluster Manager: add importing/migrating nodes to backup info
2019-03-12 17:21:17 +01:00
Salvatore Sanfilippo
2604fc27da
Merge pull request #5903 from soloestoy/sunionstore-lazyfree
...
try lazyfree temp set in SUNION & SDIFF
2019-03-12 17:20:52 +01:00
Salvatore Sanfilippo
9de07aca25
Merge pull request #5915 from swilly22/redismodule-replicated-cmd-ctx-flag
...
Extend REDISMODULE_CTX_FLAGS to indicate if command was sent by master
2019-03-12 17:17:19 +01:00
Salvatore Sanfilippo
7fd8cf9c4c
Merge pull request #5920 from chendq8/aofrewrite
...
remove temp-rewriteaof-xxx.aof when interrupt aofrewrite
2019-03-12 17:03:02 +01:00
chendianqiang
e56e1bceee
remove temp-rewriteaof-xxx.aof when interrupt aofrewrite
2019-03-12 20:46:40 +08:00
swilly22
58bcc05b1d
Extend REDISMODULE_CTX_FLAGS to indicate if command was sent by master
2019-03-11 10:02:19 +02:00
antirez
beaacf96cd
Make comment in #5911 stay inside 80 cols.
2019-03-10 09:48:06 +01:00
Salvatore Sanfilippo
50f01fb683
Merge pull request #5911 from JohnSully/unstable
...
Replicas aren't allowed to run the replicaof command
2019-03-10 09:45:55 +01:00
wurongxin
4c4b18963b
fix a bufferoverflow bug
2019-03-10 15:30:32 +08:00
John Sully
a3e3a24057
Replicas aren't allowed to run the replicaof command
2019-03-09 11:04:48 -05:00
Steve Webster
8fd63c220a
Increment delivery counter on XCLAIM unless RETRYCOUNT specified
...
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
2019-03-08 17:09:11 +00:00
Salvatore Sanfilippo
e623b4d241
Merge pull request #5902 from zhouyuan/wip_cleanup
...
server.h: remove dead code
2019-03-08 16:53:20 +01:00
zhaozhao.zz
10ffb2b722
try lazyfree temp set in SUNION & SDIFF
2019-03-07 22:08:04 +08:00
Yuan Zhou
e5149be9de
server.h: remove dead code
...
hashTypeTryObjectEncoding() is not used now
2019-03-07 18:38:27 +08:00
artix
be32922ad0
Cluster Manager: add importing/migrating nodes to backup info
2019-03-06 16:38:36 +01:00
antirez
42ce3e2fd5
ACL: GENPASS subcommand.
2019-03-05 15:51:37 +01:00
zhaozhao.zz
1380874eb3
Fix compile warning when log aux field
2019-03-04 19:43:00 +08:00
antirez
03715f0ead
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-03-02 21:19:21 +01:00
antirez
f1af6b231f
Use the RDB info fields to provide info to users.
...
Fix #5790 and 5878.
Maybe a better option was to have such fields named with the first
byte '%' as those are info fields for specification, however now to
break it in a backward incompatible way is not an option, so let's use
the fields actively to provide info when sensible, otherwise ignore
when they are not really helpful.
2019-03-02 21:17:42 +01:00
Salvatore Sanfilippo
24cfd01ed8
Merge pull request #5888 from artix75/cluster_backup
...
Cluster Manager (redis-cli): new "backup" command
2019-03-01 18:43:13 +01:00
Salvatore Sanfilippo
b9bc79f6b5
Merge pull request #5889 from artix75/bm_threads_cluster_dev
...
Redis benchmark: multithread support and cluster support
2019-03-01 18:39:58 +01:00
artix
ead543dc90
Redis benchmark: update help with threads/cluster options
2019-03-01 18:15:44 +01:00
artix
de6718dbb1
Redis benchmark: fix default hset test key
2019-03-01 17:53:14 +01:00
artix
1b175234f6
Redis Benchmark: update slots configuration after MOVED/ASK reply
2019-03-01 17:53:14 +01:00
artix
7ef83aad5f
Redis Benchmark: use atomic var for liveclients in 'createClient'
2019-03-01 17:53:14 +01:00
artix
f33bdf6b64
Redis Benchmark: display 'save' and 'appendonly' configuration
2019-03-01 17:53:14 +01:00
artix
f5ef17ef89
Redis benchmark: add {tag} to all default tests
2019-03-01 17:53:14 +01:00
artix
361a5a2892
Redis benchmark: fixed issued with config.hostip and code cleanup
2019-03-01 17:53:14 +01:00
artix
52ebd2ff18
Redis benchmark: configurable thread count in cluster mode and fixes
2019-03-01 17:53:14 +01:00
artix
c5ddfee4b4
Various changes to redis-benchmark thread and cluster support
...
- MOVED or ASK replies are now handled in cluster mode.
- Only the first slot per node is used in cluster mode.
- Mutlithreading: reduced usage of mutexes in favor of atomic vars.
2019-03-01 17:53:14 +01:00
artix
c8ca2b328e
Redis benchmark: table-based slot hashtag placeholder replacement in cluster mode.
2019-03-01 17:53:14 +01:00
artix
bad4db5525
Added basic support for clusters to redis-benchmark.
2019-03-01 17:53:14 +01:00
artix
60b650be2a
Thread support for redis-benchmark.
2019-03-01 17:53:14 +01:00
varianfeng
9514b25a85
fix corrupt_rdb.c bug.Let the name of input rdb file name be valid.
2019-03-01 17:46:42 +01:00
artix
0905d4f67a
Cluster Manager backup: remove --cluster-ignore-issue option
...
Always save the backup, even if there are problems in the cluster.
Just display a warn message and save "cluster_errors" property
inside the json.
2019-03-01 17:41:40 +01:00
artix
620736b81b
Cluster Manager: check cluster before backup
...
- Prevent cluster backup if cluster has issues and needs to be fixed.
This behaviour can be overridden by adding the option
'--cluster-ignore-issues'
2019-03-01 17:41:40 +01:00
artix
95a7fb8c9d
Cluster Manager: 'backup' command
2019-03-01 17:41:40 +01:00
Salvatore Sanfilippo
85b84a045e
Merge pull request #5875 from chendq8/partialsync
...
fix:Slave will do full sync when restart with SHUTDOWN SAVE on cluster mode
2019-03-01 17:29:19 +01:00
Salvatore Sanfilippo
c7de202ed6
Merge pull request #5873 from madolson/dev-unstable-minor-benchmark-precision-fix
...
Updated redis-benchmark so it doesn't show 1 value above 2ms
2019-03-01 16:55:09 +01:00
Salvatore Sanfilippo
15fb3baa41
Merge pull request #5881 from artix75/cluster_manager_join_issues
...
Cluster Manager: create command checks for issues during "CLUSTER MEET"
2019-03-01 16:51:02 +01:00
artix
704e123664
Cluster Manager: change join issue message
2019-02-28 16:57:57 +01:00
artix
5b72ead0ee
Cluster Manager: change text alert clusterManagerWaitForClusterJoin
2019-02-28 16:57:57 +01:00