mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
filer: upload also set file size
ensure works same as fuse mount
This commit is contained in:
1 parent
4929d0634e
commit
41be7a4c8f
1 file changed
+1
@@ -167,6 +167,7 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa
|
||||
TtlSec: ttlSec,
|
||||
Mime: contentType,
|
||||
Md5: md5bytes,
|
||||
FileSize: uint64(chunkOffset),
|
||||
},
|
||||
Chunks: fileChunks,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user