seaweedfs/weed/filer2/cassandra
Устюжанин Антон Александрович 33a9e5e2d1 test ListDirectoryPrefixedEntries
2020-08-05 22:19:16 +05:00
..
cassandra_store.go test ListDirectoryPrefixedEntries 2020-08-05 22:19:16 +05:00
README.txt adjust readme 2018-05-27 11:14:12 -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);