1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-19 07:21:00 +02:00
seaweedfs/weed/filer/cassandra
2022-01-18 15:21:13 +08:00
..
cassandra_store.go add gocql timeout setting 2022-01-18 15:21:13 +08:00
cassandra_store_kv.go
README.txt

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);