File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ansible/roles/redis/templates Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ rdbcompression yes
16
16
rdbchecksum yes
17
17
dbfilename dump.rdb
18
18
dir /var/lib/redis
19
- slave -serve-stale-data yes
20
- slave -read-only yes
19
+ replica -serve-stale-data yes
20
+ replica -read-only yes
21
21
repl-diskless-sync no
22
22
repl-diskless-sync-delay 5
23
23
repl-disable-tcp-nodelay no
24
- slave -priority 100
24
+ replica -priority 100
25
25
appendonly yes
26
26
appendfilename "redis-staging-ao.aof"
27
27
appendfsync everysec
@@ -42,7 +42,7 @@ zset-max-ziplist-value 64
42
42
hll-sparse-max-bytes 3000
43
43
activerehashing yes
44
44
client-output-buffer-limit normal 0 0 0
45
- client-output-buffer-limit slave 256mb 64mb 60
45
+ client-output-buffer-limit replica 256mb 64mb 60
46
46
client-output-buffer-limit pubsub 32mb 8mb 60
47
47
hz 10
48
48
aof-rewrite-incremental-fsync yes
@@ -51,5 +51,5 @@ masterauth {{ redis_master_password }}
51
51
52
52
{% if inventory_hostname != groups ['redis' ][0] %}
53
53
{% set redis_master_address = 'api' | kolla_address (groups ['redis' ][0]) %}
54
- slaveof {{ redis_master_address }} 6379
54
+ replicaof {{ redis_master_address }} 6379
55
55
{% endif %}
You can’t perform that action at this time.
0 commit comments