diff options
| author | nivekuil <mail@nivekuil.com> | 2021-07-02 13:02:26 -0700 |
|---|---|---|
| committer | nivekuil <mail@nivekuil.com> | 2021-07-02 13:50:01 -0700 |
| commit | 8425705643695df7e8f910c41b2f40ad71ecdedc (patch) | |
| tree | 980d1ad5277b9b4cb1f2e735b2e5c63cdc9a6393 /weed/command/scaffold.go | |
| parent | 17477b37d5def94bde993bb40adebcea8e89c6cf (diff) | |
| download | seaweedfs-8425705643695df7e8f910c41b2f40ad71ecdedc.tar.xz seaweedfs-8425705643695df7e8f910c41b2f40ad71ecdedc.zip | |
Cassandra: Use TokenAwareHostPolicy by default with fallback
See https://pkg.go.dev/github.com/gocql/gocql#hdr-Data_center_awareness_and_query_routing
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 2 |
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 |
