diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-02-26 17:29:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-26 17:29:22 -0800 |
| commit | df436d342b68810a2669acf2aee2fa64fdc89cec (patch) | |
| tree | f0da7618d8f78a45f5f49e88d6761f97de497fdb /weed/command | |
| parent | 65b0a7cf83e78b2c24ca56377f8aac78d0fd3496 (diff) | |
| download | seaweedfs-df436d342b68810a2669acf2aee2fa64fdc89cec.tar.xz seaweedfs-df436d342b68810a2669acf2aee2fa64fdc89cec.zip | |
add cassandra2 (#6582)
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/scaffold/filer.toml | 5 |
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" |
