diff --git a/README.md b/README.md index 7f91861..db3dca3 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ User can use `-version` to print the version. # Usage --- -You can directly download the binary in the [release package](https://github.com/alibaba/RedisShake/releases), and use `start.sh` script to start it directly: `./start.sh redis-shake.conf sync`.
+You can **directly download** the binary in the [release package](https://github.com/alibaba/RedisShake/releases), and use `start.sh` script to start it directly: `./start.sh redis-shake.conf sync`.
You can also build redis-shake yourself according to the following steps, the `go` and `govendor` must be installed before compile: * git clone https://github.com/alibaba/RedisShake.git * cd RedisShake diff --git a/src/redis-shake/main/main.go b/src/redis-shake/main/main.go index 115605a..cd5f6c6 100644 --- a/src/redis-shake/main/main.go +++ b/src/redis-shake/main/main.go @@ -512,6 +512,10 @@ func sanitizeOptions(tp string) error { return fmt.Errorf("source rdb[%v] checksum should be open[config set rdbchecksum yes]", address) } } + + //if len(conf.Options.SourceAddressList) == 1 { + // return fmt.Errorf("source address length should == 1 when type is 'rump'") + //} } return nil