diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-03-29 16:44:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-29 16:44:01 -0700 |
| commit | 528702d30b05b83642affb0dabb09926357d1f10 (patch) | |
| tree | 2e458edb46905c71ce2b685f7ba870df52062c03 | |
| parent | 46b3a71a1f30e0b518d7ec9d227adafa0e1e4b11 (diff) | |
| download | seaweedfs-528702d30b05b83642affb0dabb09926357d1f10.tar.xz seaweedfs-528702d30b05b83642affb0dabb09926357d1f10.zip | |
errors when reading uncached files from cloud drive (#6674)
fix https://github.com/seaweedfs/seaweedfs/issues/6672
| -rw-r--r-- | weed/mount/filehandle_read.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/filehandle_read.go b/weed/mount/filehandle_read.go index a609c97cc..ce5f96341 100644 --- a/weed/mount/filehandle_read.go +++ b/weed/mount/filehandle_read.go @@ -89,7 +89,7 @@ func (fh *FileHandle) downloadRemoteEntry(entry *LockedEntry) error { return fmt.Errorf("CacheRemoteObjectToLocalCluster file %s: %v", fileFullPath, err) } - entry.SetEntry(resp.Entry) + fh.SetEntry(resp.Entry) fh.wfs.metaCache.InsertEntry(context.Background(), filer.FromPbEntry(request.Directory, resp.Entry)) |
