From 8425705643695df7e8f910c41b2f40ad71ecdedc Mon Sep 17 00:00:00 2001 From: nivekuil Date: Fri, 2 Jul 2021 13:02:26 -0700 Subject: Cassandra: Use TokenAwareHostPolicy by default with fallback See https://pkg.go.dev/github.com/gocql/gocql#hdr-Data_center_awareness_and_query_routing --- weed/command/scaffold.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'weed/command') 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 -- cgit v1.2.3