8191 Commits

Author SHA1 Message Date
John Sully
13de2e2e8b Merge branch 'unstable' into RELEASE_0_9
Former-commit-id: d5d5f6ae06c9608b8edf3ea28a518779846a8802
2019-03-06 16:39:15 -05:00
John Sully
2d19319915 Limit server-threads to cores in the machine
Former-commit-id: be3ba1d53eb070719fd84c7573f665277a35b6f4
2019-03-06 16:39:02 -05:00
John Sully
d1c93ee8e1 port server.c to server.cpp
Former-commit-id: 09e6a4fee09b1a61e6d2ac83a2c8fec9978474ec
2019-03-06 16:29:30 -05:00
John Sully
698c085f82 Set version
Former-commit-id: efc60dd8c5304f2a7cf072ab3c430c0feb886033
2019-03-06 15:25:28 -05:00
John Sully
809cbfd495 Don't send replies to slaves after we've queued them to be closed
Former-commit-id: a52cd974b90cdf00b7f10525e754755ca5428dbb
2019-03-06 15:21:05 -05:00
artix
be32922ad0 Cluster Manager: add importing/migrating nodes to backup info 2019-03-06 16:38:36 +01:00
John Sully
9a615a4850 defer free
Former-commit-id: de4217489c87cd8347ecdb7f4df5c3b7615330d6
2019-03-05 15:46:19 -05: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
John Sully
459e6adb83 Fix crash with paused clients (accessed when global lock is not acquired)
Former-commit-id: 3c658b5012ed20f502976706e657cd2fa05e246c
2019-03-03 22:24:12 -05:00
Itamar Haber
dfc1ea81c6 Fixes BZ[REV]POP's arity 2019-03-03 23:10:45 +02:00
John Sully
93ac479418 Crash in Memory Doctor when all clients are slaves
Former-commit-id: f6814aa82564ad1b095edefeda9541859cbbb804
2019-03-03 13:56:47 -05:00
John Sully
fbf4e190ce Fix issue #2, check posix return values
Former-commit-id: 01a529cbda919d5514a4a445b26a0408115173ca
2019-03-02 20:43:03 -05:00
John Sully
5ee7a6b8f1 sds copies uninitialized data wasting time for everyone
Former-commit-id: a1475af1e4ab97337287d4ef08d092ffabbb73ca
2019-03-02 19:27:52 -05:00
John Sully
a8dacb0046 Merge branch 'unstable' of https://github.com/antirez/redis into unstable
We want that awesome multithreaded benchmark


Former-commit-id: 07594d4f958892f9270a18bc182728e4dfbf8144
2019-03-02 18:07:18 -05:00
John Sully
8f452efca3 write fastlock_unlock in ASM... because its faster
Former-commit-id: bad73faf28f879d32c4064389b69c83e9474115a
2019-03-02 16:47:27 -05: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
John Sully
9fe635fc3c Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: 8d3704d93b15602eb82c900fc2e58cc9846ebb4e
2019-03-01 16:40:20 -05:00
John Sully
e868502b16 tighten up the spinlock loop, and some other bikeshedding
Former-commit-id: 8bd56fadd6e73794415e1f9eae892c772800e559
2019-03-01 13:29:21 -05: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
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