Konstantin Lebedev
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
0 deletions
-
weed/filer/filerstore_wrapper.go
|
|
@ -164,6 +164,9 @@ func (fsw *FilerStoreWrapper) FindEntry(ctx context.Context, fp util.FullPath) ( |
|
|
|
entry, err = actualStore.FindEntry(ctx, fp) |
|
|
|
// glog.V(4).Infof("FindEntry %s: %v", fp, err)
|
|
|
|
if err != nil { |
|
|
|
if fsw.CanDropWholeBucket() && strings.Contains(err.Error(), "Table") && strings.Contains(err.Error(), "doesn't exist") { |
|
|
|
err = filer_pb.ErrNotFound |
|
|
|
} |
|
|
|
return nil, err |
|
|
|
} |
|
|
|
|
|
|
|
xxxxxxxxxx