mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Remote Storage Architecture (markdown)
parent
4f430ecb38
commit
b7d296ed0e
|
@ -51,7 +51,13 @@ On mount, all the metadata will be pulled down and cached to the local filer sto
|
||||||
|
|
||||||
The metadata will be used for all metadata operations, such as listing, directory traversal, read file size, compare file modification time, etc, which will be free and fast as usual, without any API calls to the cloud.
|
The metadata will be used for all metadata operations, such as listing, directory traversal, read file size, compare file modification time, etc, which will be free and fast as usual, without any API calls to the cloud.
|
||||||
|
|
||||||
If the cloud data has any changes, just run `remote.mount -dir=xxx -remote=cloud1/bucket` again in `weed shell`. The local cache will get updated (except deletions). It is a light weight process and you can run it regularly.
|
To fetch metadata changes in the remote storage, just sync the whole mounted directory or any sub directories:
|
||||||
|
```
|
||||||
|
# in "weed shell"
|
||||||
|
> remote.meta.sync -dir=/path/to/xxx
|
||||||
|
> remote.meta.sync -dir=/path/to/xxx/sub/folder
|
||||||
|
```
|
||||||
|
The local cache will get updated (except deletions). It is a light weight process and you can run it regularly.
|
||||||
|
|
||||||
## Cache/Uncache File Content
|
## Cache/Uncache File Content
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue