mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-01 07:49:02 +08:00
68d39c86f1
The exisitng key-value operation for stores using mysql, postgres, and maybe cassandra are already broken. The kv is used to store hardlink, filer store signature and replication progress. So users using hardlink and also uses mysql, postgres, or cassandra will have broken hard links. Users using filer.sync will need to re-sync the files. |
||
---|---|---|
.. | ||
cassandra_store_kv.go | ||
cassandra_store.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);