8313 Commits

Author SHA1 Message Date
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
chendianqiang
934dbc25df optimize cluster failover 2019-03-01 15:28:21 +08:00
John Sully
fe6fe08ad1 remove unnecessary logs
Former-commit-id: 23f9b584a8e6d082c696b69ff7e1c21e982aae23
2019-02-28 13:57:58 -05: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
artix
48d7f54aae Cluster Manager: code cleanup 2019-02-28 16:57:57 +01:00
artix
391caf8962 Cluster Manager: fix bus error in clusterManagerGetLinkStatus 2019-02-28 16:57:57 +01:00
Artix
0b6b8553a7 Cluster Manager: fix memory leaks in clusterManagerGetDisconnectedLinks 2019-02-28 16:57:57 +01:00
artix
1269590dd9 Cluster Manager: fix memory leak in clusterManagerWaitForClusterJoin 2019-02-28 16:57:57 +01:00
artix
d1aabe177a Cluster Manager: improve join issue checking 2019-02-28 16:57:57 +01:00
artix
b4a800b61e Cluster Manager: check for unreachable nodes during cluster join. 2019-02-28 16:57:57 +01:00
Salvatore Sanfilippo
f8322797b2 Merge pull request #3649 from Alkorin/fixTypo
Fix typo (unsupproted => unsupported) in error message
2019-02-27 22:33:22 +01:00
antirez
fc6675c901 Merge branch 'unstable' of github.com:/antirez/redis into unstable 2019-02-27 22:21:00 +01:00
antirez
2fd9b52b42 Gopher: reply in gopher mode only if argv[0] starts with slash.
As documented but never implemented.
2019-02-27 22:20:31 +01:00
Salvatore Sanfilippo
e2a7df2d6c Merge pull request #5877 from vattezhang/unstable_sentinel_cmd
fix: fix sentinel command table and new flags format
2019-02-27 15:45:03 +01:00
vattezhang
034741f7e8 fix: fix sentinel command table and new flags format 2019-02-27 21:35:58 +08:00
chendianqiang
4cf2552bd3 fix replicationid will not change for server.masterhost==NULL in cluster mode when restart slave 2019-02-27 17:43:05 +08:00
chendianqiang
3bb9affb57 Merge pull request #2 from antirez/unstable
merge from redis
2019-02-27 17:22:08 +08:00
antirez
2136c71a88 Make PR #5872 more compatible with Redis coding style. 2019-02-27 09:34:50 +01:00
Salvatore Sanfilippo
407c5942b8 Merge pull request #5872 from madolson/dev-unstable-acl-setuser-fix
Updated acl setuser to be all or nothing
2019-02-27 09:31:57 +01:00
Madelyn Olson
8e20c1f854 Updated redis-benchmark so it doesn't show 1 value above 2ms at higher precision 2019-02-26 21:12:55 +00:00
JohnSully
e77fdf5ea0 Update README.md
Former-commit-id: 141557963e8d660072563bcb50c9b110a6e613fe
2019-02-26 15:16:46 -05:00
John Sully
5c64ba23ca Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: ffabf3c5b7efa5ec6b654d8d8f5f11a86b39c8cd
2019-02-26 15:14:50 -05:00
John Sully
8db15e9666 Thread affinity feature (default disabled)
Former-commit-id: 9b1e95809ce57fea84f30b8d5fb68ee00bd46ceb
2019-02-26 15:14:35 -05:00
JohnSully
85a8158ae8 Link to detailed benchmarking results and methodology.
Former-commit-id: b8776bb001b90fd550a513612ae89e52ad5985b6
2019-02-26 15:11:25 -05:00
JohnSully
b7dcd0b567 More fine tuning help. Hopefully we can automate this.
Former-commit-id: 84c20e8337b1598fe4eb57bbb3d8913ae7e77f13
2019-02-26 03:30:37 -05:00
JohnSully
f1b8f76167 Update benchmarking notes.
Former-commit-id: bae2409cceb26124a346a7e8db40b183952e31f8
2019-02-26 02:30:03 -05:00
John Sully
f474419764 test code shouldn't be commited
Former-commit-id: 8f7c44257b150856f87367559ae1aef74b15e3a4
2019-02-26 00:21:37 -05:00
John Sully
16f5a47c5f Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: 2772ce249cad75b5e9b3bfc57e3b3afe2865a09a
2019-02-26 00:20:11 -05:00
John Sully
be82e98799 writes shouldn't be under the global lock
Former-commit-id: bcfd9327cb4fcf5e1fca9477862919817ddc5ab8
2019-02-26 00:19:38 -05:00
John Sully
f019a3b69e Option to disable ASM spinlock
Former-commit-id: 01ff36fc289449d6e0bf20731de079b6957bfac8
2019-02-26 00:00:04 -05:00
Madelyn Olson
b6b1d56474 Updated acl setuser to be all or nothing 2019-02-26 02:04:29 +00:00
John Sully
3ca6b6f9a2 Fix build break
Former-commit-id: 6466b09fdc1758b38bbed64b00eb958f5ea36665
2019-02-26 01:10:07 +00:00
John Sully
f446785084 Rewrite our spinlock in assembly, pretty big performance improvement
Former-commit-id: 40d7a701feefd36e9e3fdb6d516228c4a70fcf3d
2019-02-25 18:21:27 -05:00
antirez
8b01d81fd4 Merge branch 'gopher' into unstable 2019-02-25 18:16:58 +01:00
antirez
dbdbf19f92 Gopher: document the feature in redis.conf. 2019-02-25 17:20:43 +01:00
antirez
43b7a5fa1c RESP3: SETNAME option for HELLO. 2019-02-25 16:56:58 +01:00
antirez
ea75d7d52b RESP3: AUTH option for HELLO. 2019-02-25 16:55:16 +01:00
antirez
17e9ec2a69 RESP3: refactoring of CLIENT SETNAME to implement SETNAME in HELLO. 2019-02-25 16:51:49 +01:00
antirez
505815da4b RESP3: allow HELLO to be used with version = 2. 2019-02-25 16:41:00 +01:00