diff options
| author | James Hartig <fastest963@gmail.com> | 2020-04-01 15:18:40 -0400 |
|---|---|---|
| committer | James Hartig <fastest963@gmail.com> | 2020-04-01 19:08:48 -0400 |
| commit | eae3f27c8021ef1903419de43c68d2dc62a09953 (patch) | |
| tree | e507d00c72a77d89d36d99ac764dc706d4e11788 /weed/command/scaffold.go | |
| parent | 9dc0b1df8f3bb19ce01b2d520436dbdc0f2a883e (diff) | |
| download | seaweedfs-eae3f27c8021ef1903419de43c68d2dc62a09953.tar.xz seaweedfs-eae3f27c8021ef1903419de43c68d2dc62a09953.zip | |
Added treat_replication_as_minimums master toml option
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 9f119a638..e391c23ea 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -394,5 +394,13 @@ copy_2 = 6 # create 2 x 6 = 12 actual volumes copy_3 = 3 # create 3 x 3 = 9 actual volumes copy_other = 1 # create n x 1 = n actual volumes +# configuration flags for replication +[master.replication] +# any replication counts should be considered minimums. If you specify 010 and +# have 3 different racks, that's still considered writable. Writes will still +# try to replicate to all available volumes. You should only use this option +# if you are doing your own replication or periodic sync of volumes. +treat_replication_as_minimums = false + ` ) |
