mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +08:00
Updated Path Specific Filer Store (markdown)
@@ -41,6 +41,14 @@ When any request comes in, the directory is matched to all locations with custom
|
||||
|
||||
This only works for new data or new updates. Existing data for old directories will become `lost` or invisible. So only apply this to new directories.
|
||||
|
||||
# Data Storage
|
||||
|
||||
The directory path stored in the path-specific filer store has the `location` prefix trimmed and persists to the store. For example, the file `/my/home/tmp/file.txt` stored in path-specific filer store with the `location = "/my/home/" will only store "/tmp/file.txt" to the store.
|
||||
|
||||
When reading back, the prefix will be transparently added back.
|
||||
|
||||
This trimming saves some storage, but that is not the purpose. This means the path-specific filer store can later change `location` to another directory, or even another filer.
|
||||
|
||||
# What still works?
|
||||
|
||||
This can not be applied to existing directories. Besides this requirement, all other meta data operations are almost transparent to this configuration change. For example,
|
||||
|
||||
Reference in New Issue
Block a user