John Sully
02b030bc8c
Module threading fixes
...
Former-commit-id: 2785a8b4d40b09caea5e209ab49fc5f1484981a8
2019-03-07 19:13:01 -05:00
John Sully
d487df2caf
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
John Sully
26c97eafe2
defer free
...
Former-commit-id: de4217489c87cd8347ecdb7f4df5c3b7615330d6
2019-03-05 15:46:19 -05:00
John Sully
af06ffa43a
Fix crash with paused clients (accessed when global lock is not acquired)
...
Former-commit-id: 3c658b5012ed20f502976706e657cd2fa05e246c
2019-03-03 22:24:12 -05:00
John Sully
5b557d3989
Crash in Memory Doctor when all clients are slaves
...
Former-commit-id: f6814aa82564ad1b095edefeda9541859cbbb804
2019-03-03 13:56:47 -05:00
John Sully
2509750fc7
Fix issue #2 , check posix return values
...
Former-commit-id: 01a529cbda919d5514a4a445b26a0408115173ca
2019-03-02 20:43:03 -05:00
John Sully
c5a3c43d2a
sds copies uninitialized data wasting time for everyone
...
Former-commit-id: a1475af1e4ab97337287d4ef08d092ffabbb73ca
2019-03-02 19:27:52 -05:00
John Sully
15c301798f
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
465b8a9ea7
write fastlock_unlock in ASM... because its faster
...
Former-commit-id: bad73faf28f879d32c4064389b69c83e9474115a
2019-03-02 16:47:27 -05:00
antirez
4edb1d7e10
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-03-02 21:19:21 +01:00
antirez
b9b140e2e2
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
49ec69de3b
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
c8e0070fd4
tighten up the spinlock loop, and some other bikeshedding
...
Former-commit-id: 8bd56fadd6e73794415e1f9eae892c772800e559
2019-03-01 13:29:21 -05:00
Salvatore Sanfilippo
56cf413844
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
537d859288
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
cb1be1ca81
Redis benchmark: update help with threads/cluster options
2019-03-01 18:15:44 +01:00
artix
a79b84ab7f
Redis benchmark: fix default hset test key
2019-03-01 17:53:14 +01:00
artix
4e78d5cd40
Redis Benchmark: update slots configuration after MOVED/ASK reply
2019-03-01 17:53:14 +01:00
artix
daaff484a6
Redis Benchmark: use atomic var for liveclients in 'createClient'
2019-03-01 17:53:14 +01:00
artix
834809cbb3
Redis Benchmark: display 'save' and 'appendonly' configuration
2019-03-01 17:53:14 +01:00
artix
649c947a0f
Redis benchmark: add {tag} to all default tests
2019-03-01 17:53:14 +01:00
artix
eb8b4feef7
Redis benchmark: fixed issued with config.hostip and code cleanup
2019-03-01 17:53:14 +01:00
artix
f95e01266e
Redis benchmark: configurable thread count in cluster mode and fixes
2019-03-01 17:53:14 +01:00
artix
5fd5799cf9
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
434f761304
Redis benchmark: table-based slot hashtag placeholder replacement in cluster mode.
2019-03-01 17:53:14 +01:00
artix
dfd3cc5f78
Added basic support for clusters to redis-benchmark.
2019-03-01 17:53:14 +01:00
artix
563885d6d9
Thread support for redis-benchmark.
2019-03-01 17:53:14 +01:00
varianfeng
ab1e87f5b1
fix corrupt_rdb.c bug.Let the name of input rdb file name be valid.
2019-03-01 17:46:42 +01:00
artix
e6156a39bd
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
5e4dfc5c97
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
fb020ab090
Cluster Manager: 'backup' command
2019-03-01 17:41:40 +01:00
Salvatore Sanfilippo
b19e8b9a2c
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
80b8f9febc
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
5f2a256ca9
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
John Sully
2cb187ce0a
remove unnecessary logs
...
Former-commit-id: 23f9b584a8e6d082c696b69ff7e1c21e982aae23
2019-02-28 13:57:58 -05:00
artix
6cd64c6a98
Cluster Manager: change join issue message
2019-02-28 16:57:57 +01:00
artix
23ad3faa50
Cluster Manager: change text alert clusterManagerWaitForClusterJoin
2019-02-28 16:57:57 +01:00
artix
2593fb9c0c
Cluster Manager: code cleanup
2019-02-28 16:57:57 +01:00
artix
6e9864fe0d
Cluster Manager: fix bus error in clusterManagerGetLinkStatus
2019-02-28 16:57:57 +01:00
Artix
121adc604b
Cluster Manager: fix memory leaks in clusterManagerGetDisconnectedLinks
2019-02-28 16:57:57 +01:00
artix
b013d2c4db
Cluster Manager: fix memory leak in clusterManagerWaitForClusterJoin
2019-02-28 16:57:57 +01:00
artix
3578aabc05
Cluster Manager: improve join issue checking
2019-02-28 16:57:57 +01:00
artix
2f499304aa
Cluster Manager: check for unreachable nodes during cluster join.
2019-02-28 16:57:57 +01:00
Salvatore Sanfilippo
9b0b0b3942
Merge pull request #3649 from Alkorin/fixTypo
...
Fix typo (unsupproted => unsupported) in error message
2019-02-27 22:33:22 +01:00
antirez
74fdfc3763
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-02-27 22:21:00 +01:00
antirez
68c75f248e
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
88b720672c
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
9d632230b6
fix: fix sentinel command table and new flags format
2019-02-27 21:35:58 +08:00
chendianqiang
8f7e97258b
fix replicationid will not change for server.masterhost==NULL in cluster mode when restart slave
2019-02-27 17:43:05 +08:00
chendianqiang
49816941a4
Merge pull request #2 from antirez/unstable
...
merge from redis
2019-02-27 17:22:08 +08:00