diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-06 15:14:26 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-06 15:14:26 -0700 |
| commit | 308d4b2daec1fddce51a2958d535e004b30d0791 (patch) | |
| tree | 01908b9857c5337395d23fae49f1697b7edbfe60 | |
| parent | 8e4b43a01717a6445e5b8e81fba7b64c4c73b129 (diff) | |
| download | seaweedfs-308d4b2daec1fddce51a2958d535e004b30d0791.tar.xz seaweedfs-308d4b2daec1fddce51a2958d535e004b30d0791.zip | |
filer.remote.sync: createBucketWithRandomSuffix defaults to true
| -rw-r--r-- | weed/command/filer_remote_sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index 0324a8103..b46a9fffc 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -50,7 +50,7 @@ func init() { remoteSyncOptions.filerAddress = cmdFilerRemoteSynchronize.Flag.String("filer", "localhost:8888", "filer of the SeaweedFS cluster") remoteSyncOptions.dir = cmdFilerRemoteSynchronize.Flag.String("dir", "", "a mounted directory on filer") remoteSyncOptions.createBucketAt = cmdFilerRemoteSynchronize.Flag.String("createBucketAt", "", "one remote storage name to create new buckets in") - remoteSyncOptions.createBucketRandomSuffix = cmdFilerRemoteSynchronize.Flag.Bool("createBucketWithRandomSuffix", false, "add randomized suffix to bucket name to avoid conflicts") + remoteSyncOptions.createBucketRandomSuffix = cmdFilerRemoteSynchronize.Flag.Bool("createBucketWithRandomSuffix", true, "add randomized suffix to bucket name to avoid conflicts") remoteSyncOptions.readChunkFromFiler = cmdFilerRemoteSynchronize.Flag.Bool("filerProxy", false, "read file chunks from filer instead of volume servers") remoteSyncOptions.debug = cmdFilerRemoteSynchronize.Flag.Bool("debug", false, "debug mode to print out filer updated remote files") remoteSyncOptions.timeAgo = cmdFilerRemoteSynchronize.Flag.Duration("timeAgo", 0, "start time before now. \"300ms\", \"1.5h\" or \"2h45m\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\"") |
