seaweedfs/weed/filer/cassandra
nivekuil b9a67d46c5 cassandra: use LocalQuorum for all queries
This changes this filer store from eventual to strong consistency at the cost
of read performance.
2021-07-20 14:47:39 -07:00
..
cassandra_store.go cassandra: use LocalQuorum for all queries 2021-07-20 14:47:39 -07:00
cassandra_store_kv.go mysql, postgres, cassandra: change kv key to base64 encoding 2020-10-16 11:10:12 -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);