From bf346c8ab27214302790fda01d5fdb259cccfeb8 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 21 Dec 2020 23:11:02 -0800 Subject: [PATCH] Updated Path Specific Filer Store (markdown) --- Path-Specific-Filer-Store.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Path-Specific-Filer-Store.md b/Path-Specific-Filer-Store.md index 30f543f..d84b3bd 100644 --- a/Path-Specific-Filer-Store.md +++ b/Path-Specific-Filer-Store.md @@ -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,