Sébastien
0775d05a23
fix: http range request return status 500 ( #5251 )
When volume server unavailable for at least one chunk; was returning status 206.
Split `StreamContent` in two parts,
- first prepare, to get chunk info and return stream function
- then write chunk, with that stream function
That allow to catch error in first step before setting response status code in `processRangeRequest`
11 months ago
Konstantin Lebedev
0b71fae2e3
fix: s3tests test_get_object_ifnonematch_good ( #5237 )
11 months ago
Konstantin Lebedev
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
12 months ago
wusong
e7f4418855
add return for error handle ( #4502 )
2 years ago
Konstantin Lebedev
130bc3e668
s3 fix get fake dir object key ( #4390 )
2 years ago
chrislu
c47f75eb5b
fix null content type caused exception in hdfs client
fix https://github.com/seaweedfs/seaweedfs/issues/4170
2 years ago
a
0d085ec175
make directory lister trigger if mime type is httpd/unix-directory ( #4169 )
2 years ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
2 years ago
zemul
a05725aea6
filer: get directory metadata ( #3833 )
2 years ago
famosss
7f56a40553
Turn down the 404 log level ( #3585 )
2 years ago
Konstantin Lebedev
f7aeb06544
s3: report metadata if the directory is explicitly created ( #3498 )
* replace mkdir to mkFile
* ContentLength must be zero
* revert mkDir
* Seaweedfs-Is-Directory-Key return metadata
2 years ago
chrislu
9fce75607d
s3: report http.StatusOK if the directory is explicitly created
fix https://github.com/seaweedfs/seaweedfs/issues/3457
2 years ago
chrislu
fdd8c5d5e0
Filer if-modified-since check doesn't fire on "exact" #3467
fix https://github.com/seaweedfs/seaweedfs/issues/3467
2 years ago
LHHDZ
84ec68e11a
Add download speed limit support ( #3408 )
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
27732ecfa4
move s3 related constants from package http to s3_constants
3 years ago
guol-fnst
8b2552f944
fix http response error code
3 years ago
chrislu
f3bcbeb60a
a little optimization
3 years ago
banjiaojuhao
bfcc9ca808
filer: support metadata with resolved manifest chunk
3 years ago
chrislu
28b395bef4
better control for reader caching
3 years ago
banjiaojuhao
4c30934cd9
filer: support get file entry
3 years ago
root
7f0c793083
fix preconditions according to https://tools.ietf.org/id/draft-ietf-httpbis-p4-conditional-26.html#preconditions
3 years ago
chrislu
433fde4b18
move error to a separate file
This file contains metric names for all errors
The naming convention is ErrorSomeThing = "error.some.thing"
3 years ago
Konstantin Lebedev
9978f54acf
fix metric names
3 years ago
Konstantin Lebedev
3f4e17aa24
error metrics for filer and store
3 years ago
chrislu
7210558c7b
s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
3 years ago
Chris Lu
24858507cc
rename API to avoid confusion
3 years ago
Konstantin Lebedev
c78220a7f2
fix object tagging https://github.com/chrislusf/seaweedfs/issues/2389
3 years ago
Chris Lu
34f764007f
escape file name only when necessary
3 years ago
Chris Lu
ede7a65a50
update log
3 years ago
Chris Lu
c1255d30ad
add cache error log
3 years ago
Chris Lu
2789d10342
go fmt
3 years ago
Chris Lu
7504be58f9
Avoid xattr printed out as HTTP headers
fix https://github.com/chrislusf/seaweedfs/issues/2336
3 years ago
Chris Lu
f74b29416a
better etag matching
3 years ago
mauroparente
c63713774b
Fix image resize
https://github.com/chrislusf/seaweedfs/issues/2262
3 years ago
Chris Lu
a7012d9729
fix
3 years ago
Chris Lu
8d3e275735
remote: filer cache remote content on read
3 years ago
Chris Lu
767edd3c08
rename
3 years ago
Chris Lu
9df7d16791
read <- remote_storage
3 years ago
Chris Lu
c090d6bb25
add ReadRemote(), add read remote setup when filer starts
3 years ago
Chris Lu
b938df97a2
remove unused parameter
3 years ago
Chris Lu
78b1fb921c
adjust log level
4 years ago
Konstantin Lebedev
b612d5aebd
s3 test get w/ If-Match: bogus ETag
4 years ago
Konstantin Lebedev
26a4f34a57
del checks
url err logging
stats chunk fetch
4 years ago
Konstantin Lebedev
03d1199d5f
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
4 years ago
Chris Lu
ac71117ee6
revert PR #1903 avoid http error: superfluous response.WriteHeader
4 years ago
Chris Lu
1e033d45b8
simpler logic
related to https://github.com/chrislusf/seaweedfs/pull/1981
4 years ago
Merlin Gaillard
f952f979d1
filer: return 304 when If-Modified-Since == Last-Modified
4 years ago
Konstantin Lebedev
06da02739d
CheckAllChunkViews() for HEAD requests only
4 years ago
Konstantin Lebedev
90510e3137
If WriteHeader is not called explicitly, the first call to Write
will trigger an implicit WriteHeader(http.StatusOK).
WriteHeader: Only one header may be written. Go does not currently!
4 years ago