aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-02-26 17:29:22 -0800
committerGitHub <noreply@github.com>2025-02-26 17:29:22 -0800
commitdf436d342b68810a2669acf2aee2fa64fdc89cec (patch)
treef0da7618d8f78a45f5f49e88d6761f97de497fdb /weed/command
parent65b0a7cf83e78b2c24ca56377f8aac78d0fd3496 (diff)
downloadseaweedfs-df436d342b68810a2669acf2aee2fa64fdc89cec.tar.xz
seaweedfs-df436d342b68810a2669acf2aee2fa64fdc89cec.zip
add cassandra2 (#6582)
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold/filer.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index 728aecb53..596a7b31d 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -139,12 +139,13 @@ connection_max_lifetime_seconds = 0
enableUpsert = true
upsertQuery = """UPSERT INTO "%[1]s" (dirhash,name,directory,meta) VALUES($1,$2,$3,$4)"""
-[cassandra]
+[cassandra2]
# CREATE TABLE filemeta (
+# dirhash bigint,
# directory varchar,
# name varchar,
# meta blob,
-# PRIMARY KEY (directory, name)
+# PRIMARY KEY ((dirhash, directory), name)
# ) WITH CLUSTERING ORDER BY (name ASC);
enabled = false
keyspace = "seaweedfs"