mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Directories and Files (markdown)
parent
07cb47a195
commit
8239add0ac
|
@ -114,13 +114,3 @@ Filer has two use cases.
|
||||||
When filer is used directly to upload and download files, and when used together with "weed s3", the filer also need to process the file content during read and write in addition to meta data. So it's a good idea to add multiple filer servers.
|
When filer is used directly to upload and download files, and when used together with "weed s3", the filer also need to process the file content during read and write in addition to meta data. So it's a good idea to add multiple filer servers.
|
||||||
|
|
||||||
When filer is used with "weed mount", the filer only provides file meta data retrieval. The actual file content are read and write directly between "weed mount" and "weed volume" servers. So the filer is not that much loaded.
|
When filer is used with "weed mount", the filer only provides file meta data retrieval. The actual file content are read and write directly between "weed mount" and "weed volume" servers. So the filer is not that much loaded.
|
||||||
|
|
||||||
## Upgrading from previous Filer storage
|
|
||||||
Upgrading is complicated since the storage format is very different.
|
|
||||||
|
|
||||||
Here are the basic steps:
|
|
||||||
1. Export all files from existing storage, including the full path, and fileId.
|
|
||||||
2. For each fileId, find out the size, mime type.
|
|
||||||
3. Register the file in the new filer, via SeaweedFiler CreateEntry() gRpc API. See [[Filer Commands and Operations]]
|
|
||||||
|
|
||||||
Here is an [example](https://github.com/chrislusf/seaweedfs/blob/98110c16970a1c231a5cc04e0eb85ec48d649e14/weed/command/filer_copy.go) to follow if you really want to do this.
|
|
||||||
|
|
Loading…
Reference in a new issue