mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-31 23:13:26 +08:00
log errors
This commit is contained in:
parent
5039aff310
commit
d598c47136
@ -179,7 +179,9 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
|
|||||||
}
|
}
|
||||||
|
|
||||||
if fh.f.isOpen == 0 {
|
if fh.f.isOpen == 0 {
|
||||||
fh.doFlush(ctx, req.Header)
|
if err := fh.doFlush(ctx, req.Header); err != nil {
|
||||||
|
glog.Errorf("Release doFlush %s: %v", fh.f.Name, err)
|
||||||
|
}
|
||||||
fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle))
|
fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user