From b7d296ed0ed56ad1bb65320029b8636d78d17a17 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 15 Aug 2021 02:14:49 -0700 Subject: [PATCH] Updated Remote Storage Architecture (markdown) --- Remote-Storage-Architecture.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Remote-Storage-Architecture.md b/Remote-Storage-Architecture.md index bc72feb..4d84a40 100644 --- a/Remote-Storage-Architecture.md +++ b/Remote-Storage-Architecture.md @@ -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. -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