diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-07-06 09:24:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-07-06 09:24:54 -0700 |
| commit | d198e8c6d65d5b135a481f36004769b152583c7d (patch) | |
| tree | 7f69c276989c3f2b55f453975f3e3109fef91e88 /weed/filer2/filer.go | |
| parent | 0b8cc9b626708f3559b143826836b65ee3bf5472 (diff) | |
| download | seaweedfs-d198e8c6d65d5b135a481f36004769b152583c7d.tar.xz seaweedfs-d198e8c6d65d5b135a481f36004769b152583c7d.zip | |
filer: support cross filer meta data sync if sharing the same store
Diffstat (limited to 'weed/filer2/filer.go')
| -rw-r--r-- | weed/filer2/filer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go index 769ff4fac..06c997f36 100644 --- a/weed/filer2/filer.go +++ b/weed/filer2/filer.go @@ -60,6 +60,10 @@ func (f *Filer) SetStore(store FilerStore) { f.store = NewFilerStoreWrapper(store) } +func (f *Filer) GetStore() (store FilerStore) { + return f.store +} + func (f *Filer) DisableDirectoryCache() { f.directoryCache = nil } |
