seaweedfs/weed/filer/cassandra
2022-05-01 22:28:55 +05:00
..
cassandra_store_kv.go ensure using local quorum consistency 2021-08-10 05:10:57 -07:00
cassandra_store.go refactor use const CountEntryChunksForGzip 2022-05-01 22:28:55 +05: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);