mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: upload also set file size
ensure works same as fuse mount
This commit is contained in:
parent
4929d0634e
commit
41be7a4c8f
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue