Added redis replication attributes
This will add a master_ip and master_port option which can be used to enable redis replication for a HA solution
Merge request reports
Activity
@marin can you have a look?
mentioned in issue gitlab-com/operations#5 (closed)
@jnijhof Out of curiosity, what are the redis commands?
@marin instead of defining slave settings in config and restarting redis you can simply add/remove replication by:
/opt/gitlab/embedded/bin/redis-cli slaveof <master ip> 6379
And you can use the following command to convert a replication instance to master by:
/opt/gitlab/embedded/bin/redis-cli slaveof no one
Edited by username-removed-29582@jnijhof great, thanks!
cc @dblessing
Please register or sign in to reply