Skip to content
Snippets Groups Projects
Commit f3314eac authored by Petr Tuma's avatar Petr Tuma Committed by Petr Tůma
Browse files

Redis configuration syntax update


Replication syntax of Redis config files updated to
Redis 5.x.

Signed-off-by: default avatarPetr Tuma <p.tuma@partner.samsung.com>
Change-Id: I45bacefc7912870c48f618e27ff759f9c249dc33
parent e3154462
No related branches found
No related tags found
No related merge requests found
......@@ -16,12 +16,12 @@ rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir /var/lib/redis
slave-serve-stale-data yes
slave-read-only yes
replica-serve-stale-data yes
replica-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
slave-priority 100
replica-priority 100
appendonly yes
appendfilename "redis-staging-ao.aof"
appendfsync everysec
......@@ -42,7 +42,7 @@ zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
......@@ -51,5 +51,5 @@ masterauth {{ redis_master_password }}
{% if inventory_hostname != groups['redis'][0] %}
{% set redis_master_address = 'api' | kolla_address(groups['redis'][0]) %}
slaveof {{ redis_master_address }} 6379
replicaof {{ redis_master_address }} 6379
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment