rename to skipCheckParentDir

related to https://github.com/chrislusf/seaweedfs/pull/2761

It's better to default to false.
This commit is contained in:
chrislu
2022-03-16 23:55:31 -07:00
parent d2acde2a61
commit 4042fdf3bb
14 changed files with 459 additions and 445 deletions

View File

@@ -93,7 +93,7 @@ func (fs *FilerServer) encrypt(ctx context.Context, w http.ResponseWriter, r *ht
Size: int64(pu.OriginalDataSize),
}
if dbErr := fs.filer.CreateEntry(ctx, entry, false, false, nil, true); dbErr != nil {
if dbErr := fs.filer.CreateEntry(ctx, entry, false, false, nil, false); dbErr != nil {
fs.filer.DeleteChunks(entry.Chunks)
err = dbErr
filerResult.Error = dbErr.Error()