1
0
mirror of https://github.com/seaweedfs/seaweedfs.git synced 2024-12-30 21:25:32 +08:00
seaweedfs/weed/filer/cassandra
2024-09-13 06:53:04 -07:00
..
cassandra_store_kv.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
cassandra_store.go changing FindEntry error handling in cassandra store () 2024-09-13 06:53:04 -07:00
README.txt rename filer2 to filer 2020-09-01 00:21:19 -07:00

1. create a keyspace

CREATE KEYSPACE seaweedfs WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};

2. create filemeta table

 USE seaweedfs;

 CREATE TABLE filemeta (
    directory varchar,
    name varchar,
    meta blob,
    PRIMARY KEY (directory, name)
 ) WITH CLUSTERING ORDER BY (name ASC);