mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Path Specific Filer Store (markdown)
parent
234bcf4ac8
commit
bf346c8ab2
|
@ -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.
|
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?
|
# 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,
|
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,
|
||||||
|
|
Loading…
Reference in a new issue