aboutsummaryrefslogtreecommitdiff
path: root/weed/server
AgeCommit message (Collapse)AuthorFilesLines
2024-02-01use a short-lived lockchrislu1-2/+2
2024-01-30fix nil errorchrislu1-1/+1
2024-01-29re-lock if the lock owner is not foundchrislu1-7/+11
2024-01-29fix: http range request return status 500 (#5251)Sébastien3-25/+68
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`
2024-01-24fix: s3tests test_get_object_ifnonematch_good (#5237)Konstantin Lebedev1-1/+3
2024-01-23Merge branch 'master' into mq-subscribechrislu2-12/+0
2024-01-23same logic as grpc assignchrislu2-12/+0
fix https://github.com/seaweedfs/seaweedfs/issues/5213
2024-01-18Merge branch 'master' into mq-subscribechrislu3-34/+62
2024-01-18http assign logic should be the same as grpc assignchrislu1-21/+40
similar logic as bebbc9fe444cd1e8eafe59cc1dd5129d61cad7a4
2024-01-17chore: filer healthz handler check filer store (#5208)Konstantin Lebedev2-1/+10
2024-01-17[filer] avoid return http ok for not allowed methods (#5209)Konstantin Lebedev1-12/+12
2024-01-15read from disk if not in memorychrislu1-2/+2
2024-01-11Merge branch 'master' into mq-subscribechrislu9-35/+47
2024-01-10chore: add status code for request_total metrics (#5188)Konstantin Lebedev8-30/+44
2024-01-08Removed problematic if statement (#5180)jerebear121-5/+3
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.
2024-01-08add batch index for each memory bufferchrislu1-6/+6
2024-01-05Merge branch 'master' into mq-subscribechrislu2-5/+26
2024-01-05chore: add maxMB option for webdav (#5165)Konstantin Lebedev1-2/+3
2024-01-03fix: webdav avoid create empty files (#5160)Konstantin Lebedev1-3/+9
2024-01-03fix: return etag with md5 in webdav responses (#5158)Konstantin Lebedev2-0/+14
2023-12-28subscriber can get assignmentschrislu1-0/+3
2023-12-28weed/server: remove unneeded err from streamReadOneVolume() signature (#5143)Lars Lehtonen1-5/+3
2023-12-27create volume grow request if the selected volume is close to fullchrislu3-15/+20
2023-12-20Set allowed origins in config (#5109)jerebear122-6/+50
* 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
2023-12-07add missing error in the logchrislu1-1/+1
related to https://github.com/seaweedfs/seaweedfs/issues/5084
2023-11-27adjust logschrislu1-1/+1
2023-11-27logging PickForWrite errorKonstantin Lebedev1-26/+27
https://github.com/seaweedfs/seaweedfs/issues/3886
2023-11-20Update filer_server_handlers_write_autochunk.gojulor1-0/+1
2023-11-20verify content-md5 in headerjulor1-0/+10
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
2023-11-07weed/server: fix dropped webdav errorLars Lehtonen1-0/+3
2023-11-06Replace an invalid method in a metric with an invalid one (#4987)Konstantin Lebedev1-10/+16
2023-11-05fix error reportingchrislu1-1/+1
related to https://github.com/seaweedfs/seaweedfs/issues/4978
2023-11-01refactor webdav subdirectory, fixes #4967 (#4969)Nico D'Cotta2-4/+101
* refactor webdav subdirectory, fixes #4967 * fix bug where Name() was not called on delegate wrappedFileInfo
2023-10-30Fix twice increase metric counter (#4961)SmsS41-1/+0
2023-10-30Add ErrorGetNotFound and ErrorGetInternal to volume server metrics (#4960)SmsS41-7/+19
2023-10-24fix copying .vif file in VolumeCopy (#4943)zehweh1-1/+1
closes #4934 fixes #2633 might fix #3528
2023-10-13disconnect from old subscriberschrislu1-11/+41
2023-10-12 fix: disallow file name too long when writing a file (#4881)Konstantin Lebedev7-10/+27
* 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>
2023-10-12fix has changes false if deleted result size eq zero (#4909)Konstantin Lebedev1-0/+5
* 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>
2023-10-09 fix: skipping checking active volumes with the same number of files at the ↵Konstantin Lebedev2-0/+7
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>
2023-10-08added healthz endpoint to filer (#4899)Yuval Yacoby2-0/+6
2023-09-25Revert "Revert "Merge branch 'master' of ↵chrislu1-2/+2
https://github.com/seaweedfs/seaweedfs"" This reverts commit 8cb42c39
2023-09-19merge some previous missing changeschrislu1-2/+5
2023-09-18Revert "Revert "Merge branch 'master' into sub""chrislu3-13/+8
This reverts commit 0bb97709d41b1be4c74f01dcc65aac6d5f88bd16.
2023-09-18Revert "Merge branch 'master' into sub"chrislu3-8/+13
This reverts commit 4d414f54a224142f3f4d934f4af3b5dceb6fec6b, reversing changes made to 482742514656e9b5a652acf7406740fbc55db13d.
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-2/+2
This reverts commit 2e5aa06026750c99ea283181974d2ccfe5eb0468, reversing changes made to 4d414f54a224142f3f4d934f4af3b5dceb6fec6b.
2023-09-18Merge branch 'master' of https://github.com/seaweedfs/seaweedfschrislu1-2/+2
2023-09-18Merge branch 'master' into subchrislu3-13/+8
2023-09-18Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 (#4850)dependabot[bot]1-2/+2
* Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone) from 1.63.1 to 1.64.0. - [Release notes](https://github.com/rclone/rclone/releases) - [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md) - [Commits](https://github.com/rclone/rclone/compare/v1.63.1...v1.64.0) --- updated-dependencies: - dependency-name: github.com/rclone/rclone dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * API changes * go mod --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: chrislu <chris.lu@gmail.com>
2023-09-18Merge branch 'master' of https://github.com/seaweedfs/seaweedfschrislu1-6/+6