Add port 16379 to conf.sample

This is a point that is easily hidden. In the case of not open
port 16379, redis cluster can still be deployed successfully,
but this success is a false success, there is no data communication
between the various nodes. This is because 16379 is the port for
data port[1]. We set the default value in cfg, but in the
case of conf,it is easy to be covered. Adding 16379 to conf.sample
helps the user to reduce some problem caused by the redis
configuration.

[1]:https://redis.io/topics/cluster-tutorial

Change-Id: If517072c1c875df68106af14dac1802bb959d17e
This commit is contained in:
jiansong 2017-04-11 19:12:13 -07:00 committed by jian.song
parent e320489c57
commit dbeff81d50
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ device_path = /dev/vdb
[redis]
# Format (single port or port range): A, B-C
# where C greater than B
tcp_ports = 6379
tcp_ports = 6379, 16379
# redis uses local storage
volume_support = False
# default device_path = None

View File

@ -222,7 +222,7 @@ ignore_dbs = mysql, information_schema, performance_schema
[redis]
tcp_ports = 6379
tcp_ports = 6379, 16379
#redis uses local storage
volume_support = False
# default device_path = None