aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-07-02 13:51:53 -0700
committerGitHub <noreply@github.com>2021-07-02 13:51:53 -0700
commit2cb8b31ea72dc53a3adac04295b76dcd73203fee (patch)
treeb98cb547914f08d542a92b21b3f88249c5944e02 /weed/command/scaffold.go
parentd8bda0b2294afe59f0edc062fd145cd24ea725db (diff)
parent8425705643695df7e8f910c41b2f40ad71ecdedc (diff)
downloadseaweedfs-2cb8b31ea72dc53a3adac04295b76dcd73203fee.tar.xz
seaweedfs-2cb8b31ea72dc53a3adac04295b76dcd73203fee.zip
Merge pull request #2179 from nivekuil/tokenpolicy
Cassandra: Use TokenAwareHostPolicy with fallback to localDC by default
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 2d6729bd3..8e940f608 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -217,6 +217,8 @@ username=""
password=""
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
superLargeDirectories = []
+# Name of the datacenter local to this filer, used as host selection fallback.
+localDC=""
[hbase]
enabled = false