1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-17 00:41:41 +02:00
seaweedfs/weed/filer/cassandra
Chris Lu 6c9156b25f switch to logrus
losing filename and line number. Critical for debugging.
2020-11-16 22:26:58 -08:00
..
cassandra_store.go switch to logrus 2020-11-16 22:26:58 -08:00
cassandra_store_kv.go mysql, postgres, cassandra: change kv key to base64 encoding 2020-10-16 11:10:12 -07:00
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);