Chris Lu
0da7ecfd29
go fmt
4 years ago
Chris Lu
92f906b6fc
remove zstd
fix https://github.com/chrislusf/seaweedfs/issues/1629
4 years ago
Chris Lu
dc304342b2
fs.configure: configurable volume growth
4 years ago
Chris Lu
b04375a3d1
use alternative assign request
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
95c0de285d
refactoring
4 years ago
Chris Lu
a29abd8600
add a {X-,}Idempotency-Key header for http POST
fix https://github.com/chrislusf/seaweedfs/issues/1592
according to https://github.com/golang/go/issues/19943
4 years ago
Chris Lu
8708e7a64d
print out data size
4 years ago
Chris Lu
0ecff9521d
avoid []byte reuse
4 years ago
Chris Lu
031aa70da6
Revert "revert bytebufferpool, seems problematic"
This reverts commit e0fcab47c0
.
4 years ago
Chris Lu
e0fcab47c0
revert bytebufferpool, seems problematic
4 years ago
Chris Lu
c057dd1f64
add back upload retries
4 years ago
Chris Lu
19772d70d7
print for debugging
4 years ago
Chris Lu
ef9c32ea0d
adjust compression threshold
4 years ago
Chris Lu
29c9fa2ef2
byte buffer for uploading
4 years ago
Chris Lu
2579edbc60
fix bug found by tests
4 years ago
Chris Lu
e0c8507d93
memory pool to reduce memory allocation
4 years ago
Chris Lu
c31b254248
mount: shortcut when there is only one chunk
4 years ago
Chris Lu
f64252023e
Revert "a better byte buffer pool"
This reverts commit 59c6422777
.
4 years ago
Chris Lu
59c6422777
a better byte buffer pool
4 years ago
Chris Lu
35f6518c36
weed upload: usePublicUrl was not being used on big files
fix https://github.com/chrislusf/seaweedfs/issues/1492
4 years ago
Chris Lu
daf0a449f7
properly cancel context for streaming grpc
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
50f7e2e89f
add log messages
4 years ago
Chris Lu
5f55a87101
close http response
4 years ago
Chris Lu
0b301b0b47
consume all response body in order to release requests
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
Chris Lu
83cad3da79
add retry file upload
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
4ecfa9879d
volume: report Content-MD5 in response header
4 years ago
Chris Lu
1b3a80dd3d
non-fatal error
4 years ago
Chris Lu
bbc8ae110f
report errors
5 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
e4ef3814e7
fix compilation
5 years ago
Chris Lu
2ff37ccdbd
testing parsing the upload
The mime type is always the value passed in.
Compress or not depends on the content detection, file name extension, and compression ratio.
If the content is already compressed, need to know the content size.
5 years ago
Chris Lu
fe60db404a
prepare for zstd
5 years ago
Chris Lu
3080c197e3
rename UnCompressData to DecompressData
5 years ago
Chris Lu
97239ce6f1
rename filechunk is_gzipped to is_compressed
5 years ago
Chris Lu
e912fd15e3
renaming
5 years ago
Chris Lu
16fe132a20
detect mime type before replicating to other volume servers
5 years ago
Chris Lu
39e72fb23c
go fmt
5 years ago
Chris Lu
871efa4fc1
refactoring
some previous chunk etag was using md5, which should be wrong.
5 years ago
zhangsong
d819865fe7
add fsync option for benchmark
5 years ago
Chris Lu
9cacaf5eca
better detect file mime type
5 years ago
Chris Lu
3f1d79512f
only detect when not sure about the types
5 years ago
Chris Lu
d2d1597850
volume: detect gzip effectiveness only when content type is empty
revert part of 2286eda575
5 years ago
Chris Lu
8a73276602
refactor a bit
5 years ago
Chris Lu
bf270d9e8c
filer: able to tail meta data changes
5 years ago
Chris Lu
eedd33dda3
refactoring
5 years ago
Chris Lu
e1911760a7
refactoring
5 years ago