polish conf

v4
vinllen 5 years ago
parent fadbdba6bd
commit 9a9eb7aa5b
  1. 2
      ChangeLog
  2. 3
      conf/redis-shake.conf
  3. 2
      src/redis-shake/rump.go

@ -4,7 +4,7 @@
#145.
* IMPROVE: adjust RecvChanSize based on `sender.count` or `scan.key_number`
if target redis type is cluster.
* IMPROVE: remove some useless variables in conf like `heartbeat`, `ncpu`.
* IMPROVE: remove some variables in conf like `heartbeat`, `ncpu`.
* IMPROVE: print inner error message from redigo driver return message.
2019-08-09 Alibaba Cloud.
* VERSION: 1.6.16

@ -38,7 +38,8 @@ source.type = standalone
# 2. ${sentinel_master_name}:${master or slave}@sentinel single/cluster address, e.g., mymaster:master@127.0.0.1:26379;127.0.0.1:26380, or @127.0.0.1:26379;127.0.0.1:26380. for "sentinel" type.
# 3. cluster that has several db nodes split by semicolon(;). for "cluster" type. e.g., 10.1.1.1:20331;10.1.1.2:20441.
# 4. proxy address(used in "rump" mode only). for "proxy" type.
# 源redis地址。对于sentinel模式,输入格式为"master名字:拉取角色为master或者slave@sentinel的地址"
# 源redis地址。对于sentinel或者开源cluster模式,输入格式为"master名字:拉取角色为master或者slave@sentinel的地址",别的cluster
# 架构,比如codis, twemproxy, aliyun proxy等需要配置所有master或者slave的db地址。
source.address = 127.0.0.1:20441
# password of db/proxy. even if type is sentinel.
source.password_raw = 123456

@ -13,9 +13,9 @@ import (
"redis-shake/configure"
"redis-shake/metric"
"redis-shake/scanner"
"redis-shake/filter"
"github.com/garyburd/redigo/redis"
"redis-shake/filter"
)
type CmdRump struct {

Loading…
Cancel
Save