add more debug in rdb restore

v4
vinllen 5 years ago
parent 89f99c839a
commit e040724afa
  1. 2
      src/redis-shake/common/utils.go

@ -811,6 +811,8 @@ func RestoreRdbEntry(c redigo.Conn, e *rdb.BinEntry) {
params = append(params, "FREQ")
params = append(params, e.Freq)
}
log.Debugf("restore key[%s] with params[%v]", e.Key, params)
// fmt.Printf("key: %v, value: %v params: %v\n", string(e.Key), e.Value, params)
// s, err := redigo.String(c.Do("restore", params...))
s, err := redigoCluster.String(c.Do("restore", params...))

Loading…
Cancel
Save