chrislu
ded761ffc5
adjust visibility
6 months ago
vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
6 months ago
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
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
12 months ago
SmsS4
ba11331cc1
Fix twice increase metric counter ( #4961 )
1 year ago
SmsS4
f95848ba7d
Add ErrorGetNotFound and ErrorGetInternal to volume server metrics ( #4960 )
1 year ago
monchickey
3e2c9ea73d
Add image cropping. ( #4117 )
2 years ago
chrislu
10d5b4b32b
volume server: rename readBufferSize to readBufferSizeMB
2 years ago
famosss
d949a238b8
volume: add "readBufSize" option to customize read optimization ( #3702 )
* simplify a bit
* feat: volume: add "readBufSize" option to customize read optimization
* refactor : redbufSIze -> readBufferSize
* simplify a bit
* simplify a bit
2 years ago
chrislu
896a85d6e4
volume: add "hasSlowRead" option to customize read optimization
2 years ago
chrislu
58d18b68d8
rename variable
2 years ago
chrislu
7e52b1e195
return err for processRangeRequest()
2 years ago
chrislu
aac45f3e89
filer: retryable when error is not found
2 years ago
Konstantin Lebedev
df9cc31a0a
refactor
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
ecef844dfc
stream read large files
3 years ago
chrislu
48cca4e54f
remove unused logic
3 years ago
chrislu
a96d4254e9
filer, s3, volume server: a bit memory optimization
3 years ago
chrislu
a152f17937
mount: improve read performance on random reads
3 years ago
chrislu
7210558c7b
s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
d1d1fc772c
move some volume lookup operations to grpc
jwt related lookup will come in next commit
3 years ago
Chris Lu
f2cd753bf9
fix avoid lock error
fix https://github.com/chrislusf/seaweedfs/issues/2247
3 years ago
Chris Lu
734c980040
volume: support concurrent download data size limit
3 years ago
byunghwa.yun
7374b5b473
Add webp extension for resizing
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
zhangsong
20d33ae025
add proxy mode to read non-local volumes
4 years ago
zhangsong
7566782c2e
add proxy mode to read non-local volumes
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
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
Konstantin Lebedev
46b9f5cff4
add debug logging
4 years ago
bingoohuang
ee7cdf3668
revert ErrXyz to ErrorXyz temporarily.
4 years ago
bingoohuang
a6d421508a
revert ErrXyz to ErrorXyz temporarily.
4 years ago
bingoohuang
7ffe736d20
renaming to ErrXyz
4 years ago
bingoohuang
eab6e31d34
use backticks instead of double quotes to avoid escaped additionally in regex
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
698f58f7c4
filer, s3: add http status 206 as late as possible
fix https://github.com/chrislusf/seaweedfs/issues/1746
4 years ago
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
306062b4e7
filer: add CORS support
4 years ago
Chris Lu
05acc33294
volume: add CORS support
4 years ago
Chris Lu
e1a8e3f900
fix logging
4 years ago
Chris Lu
bd8b9b0c2e
some changes to prepare fix after failed reads
4 years ago
Chris Lu
5e13bc878c
adjust log level
4 years ago
Chris Lu
7e91ae592c
pass in option to read deleted entries
not working yet
4 years ago
Chris Lu
49199c69d4
volume: avoid special logic for .gz files
4 years ago
Chris Lu
3faa0aa448
rename
4 years ago
Chris Lu
023a1efdf2
set filename in Content-Disposition header
4 years ago
李远军
4162766c46
Fix the bug of " http://xx/xx,xxx.PNG?width=100 "
If you want to do a resize a UPPER ext pic file, there is a bug caused by commit 308688c8d0
(also see https://github.com/chrislusf/seaweedfs/blob/master/weed/images/resizing.go#L43 )
5 years ago