Konstantin Lebedev
df40908e57
fix panic 5435 ( #5436 )
9 months ago
chrislu
aed6fdffd2
fix nil volume data backend
fix https://github.com/seaweedfs/seaweedfs/issues/5417
9 months ago
jerebear12
7091269e65
fix get file metadata bug ( #5394 )
* Removed problematic if statement
This if statement was causing the value of option.AllowedOrigins to be always equal to "*". Now the values in the config file will be used when present. This allows for people who don't need this feature to not update their security.toml files.
* Update filer_server_handers_read.go
* Updated filer responses to invalid requests
9 months ago
chrislu
27bb38228b
only broad cast when there are waiting threads
9 months ago
Konstantin Lebedev
54ee73287d
[filer] replace an invalid methods in a metric with an invalid one ( #5378 )
fix: replace an invalid methods in a metric with an invalid one for filer
9 months ago
rustrover
ab70aa92da
remove repetitive words ( #5364 )
10 months ago
chrislu
34f2b600ac
each log function adds a "done" return parameter
10 months ago
chrislu
832b60c13f
pass errors
10 months ago
chrislu
5c0f01c0eb
purge cluster id
10 months ago
jerebear12
85d6d5371b
Disable filer UI in configuration ( #5297 )
* Add filer.ui.enabled configuration property
* Add filer.expose_directory_metadata to config
* Ammend commit
* Remove ShowUI reference
* Update all routes that allow directory metadata
* Add cmd flag to server.go
10 months ago
Sébastien
c694cb4e7d
filer: reduce delete entry ErrNotFound logs ( #5301 )
10 months ago
Konstantin Lebedev
8fb978d6f6
[volume] requests that were canceled by the client are not an internal server problem(500 => 499) ( #5304 )
10 months ago
Chris Lu
fa72761bb8
fix on finding lock owner
11 months ago
chrislu
d41792461c
lock returns host and owner
11 months ago
chrislu
d30150dde1
use a short-lived lock
11 months ago
chrislu
c1bb76d709
fix nil error
11 months ago
chrislu
ac50d8a822
re-lock if the lock owner is not found
11 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
0b71fae2e3
fix: s3tests test_get_object_ifnonematch_good ( #5237 )
11 months ago
chrislu
49fcb48e04
same logic as grpc assign
fix https://github.com/seaweedfs/seaweedfs/issues/5213
11 months ago
chrislu
3002087541
http assign logic should be the same as grpc assign
similar logic as bebbc9fe44
11 months ago
Konstantin Lebedev
4e9ea1e628
chore: filer healthz handler check filer store ( #5208 )
11 months ago
Konstantin Lebedev
f9cf13fada
[filer] avoid return http ok for not allowed methods ( #5209 )
11 months ago
chrislu
fa59a5d67e
read from disk if not in memory
11 months ago
Konstantin Lebedev
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
12 months ago
jerebear12
8c966ac23b
Removed problematic if statement ( #5180 )
This if statement was causing the value of option.AllowedOrigins to be always equal to "*". Now the values in the config file will be used when present. This allows for people who don't need this feature to not update their security.toml files.
12 months ago
chrislu
49428a303b
add batch index for each memory buffer
12 months ago
Konstantin Lebedev
3b62b338a5
chore: add maxMB option for webdav ( #5165 )
12 months ago
Konstantin Lebedev
3e43778869
fix: webdav avoid create empty files ( #5160 )
12 months ago
Konstantin Lebedev
b832ddd1ef
fix: return etag with md5 in webdav responses ( #5158 )
12 months ago
chrislu
093fdc1621
subscriber can get assignments
1 year ago
Lars Lehtonen
edc0532b1d
weed/server: remove unneeded err from streamReadOneVolume() signature ( #5143 )
1 year ago
chrislu
bebbc9fe44
create volume grow request if the selected volume is close to full
1 year ago
jerebear12
06343f8976
Set allowed origins in config ( #5109 )
* Add a way to use a JWT in an HTTP only cookie
If a JWT is not included in the Authorization header or a query string, attempt to get a JWT from an HTTP only cookie.
* Added a way to specify allowed origins header from config
* Removed unecessary log
* Check list of domains from config or command flag
* Handle default wildcard and change name of config value to cors
1 year ago
chrislu
5fe4c04a1a
add missing error in the log
related to https://github.com/seaweedfs/seaweedfs/issues/5084
1 year ago
chrislu
756bcc032d
adjust logs
1 year ago
Konstantin Lebedev
dd78397fea
logging PickForWrite error
https://github.com/seaweedfs/seaweedfs/issues/3886
1 year ago
julor
2fa37e0287
Update filer_server_handlers_write_autochunk.go
1 year ago
julor
9e03b916d8
verify content-md5 in header
if upload content by s3 client and set content-md5 in header,then will verify recived and saved content,if not equal delete thos chunks
1 year ago
Lars Lehtonen
5db82e594a
weed/server: fix dropped webdav error
1 year ago
Konstantin Lebedev
d693beea87
Replace an invalid method in a metric with an invalid one ( #4987 )
1 year ago
chrislu
a667f0ad99
fix error reporting
related to https://github.com/seaweedfs/seaweedfs/issues/4978
1 year ago
Nico D'Cotta
3834ad5c48
refactor webdav subdirectory, fixes #4967 ( #4969 )
* refactor webdav subdirectory, fixes #4967
* fix bug where Name() was not called on delegate wrappedFileInfo
1 year 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
zehweh
8b39bbbe2f
fix copying .vif file in VolumeCopy ( #4943 )
closes #4934
fixes #2633
might fix #3528
1 year ago
chrislu
cbc24c7b24
disconnect from old subscribers
1 year ago
Konstantin Lebedev
1cac5d983d
fix: disallow file name too long when writing a file ( #4881 )
* fix: disallow file name too long when writing a file
* bool LongerName to MaxFilenameLength
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
Konstantin Lebedev
edee91ef0e
fix has changes false if deleted result size eq zero ( #4909 )
* fix has changes false if deleted result size eq zero
https://github.com/seaweedfs/seaweedfs/issues/4171
* fix change respos status 202 to 304 if the file has already been deleted
https://github.com/seaweedfs/seaweedfs/issues/4171
* fix delete if set apply changes
https://github.com/seaweedfs/seaweedfs/issues/4171
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
Konstantin Lebedev
2b3e39397e
fix: skipping checking active volumes with the same number of files at the moment ( #4893 )
* fix: skipping checking active volumes with the same number of files at the moment
https://github.com/seaweedfs/seaweedfs/issues/4140
* refactor with comments
https://github.com/seaweedfs/seaweedfs/issues/4140
* add TestShouldSkipVolume
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago