From 4393b99332a5da26a63f298bbb0ea61ab25fb44b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 16 Apr 2019 13:57:45 -0700 Subject: [PATCH] add notes --- weed/filer2/filer_deletion.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weed/filer2/filer_deletion.go b/weed/filer2/filer_deletion.go index 590df6a8d..db26fb0a2 100644 --- a/weed/filer2/filer_deletion.go +++ b/weed/filer2/filer_deletion.go @@ -57,6 +57,8 @@ func (f *Filer) DeleteChunks(fullpath FullPath, chunks []*filer_pb.FileChunk) { } } +// DeleteFileByFileId direct delete by file id. +// Only used when the fileId is not being managed by snapshots. func (f *Filer) DeleteFileByFileId(fileId string) { f.fileIdDeletionChan <- fileId }