aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-01-29re-lock if the lock owner is not foundchrislu4-58/+55
2024-01-29weed/shell: Cluster check other disk types (#5245)Benoît Knecht1-9/+20
* week/shell: Cluster check other disk types The `cluster.check` command only took the empty (`""`) and `hdd` disk types into consideration, but a cluster with only `ssd` or `nvme` disk types would be equally valid. This commit simply checks that _any_ disk type is defined, and that some volumes are available for it. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Replace loop that copies slice Use the following construct instead of a `for` loop: ```golang x = append(x, y...) ``` See https://staticcheck.dev/docs/checks#S1011. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Check disk types when filer is in use Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes, so make sure those disk types exist and have volumes associated with them when Filer is deployed in the cluster. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> --------- Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2024-01-29fix: http range request return status 500 (#5251)Sébastien4-64/+118
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-29Bump github.com/shirou/gopsutil/v3 from 3.23.11 to 3.23.12 (#5255)dependabot[bot]2-3/+3
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.11 to 3.23.12. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](https://github.com/shirou/gopsutil/compare/v3.23.11...v3.23.12) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#5256)dependabot[bot]2-3/+3
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29Bump github.com/klauspost/reedsolomon from 1.11.8 to 1.12.1 (#5257)dependabot[bot]2-6/+6
Bumps [github.com/klauspost/reedsolomon](https://github.com/klauspost/reedsolomon) from 1.11.8 to 1.12.1. - [Release notes](https://github.com/klauspost/reedsolomon/releases) - [Commits](https://github.com/klauspost/reedsolomon/compare/v1.11.8...v1.12.1) --- updated-dependencies: - dependency-name: github.com/klauspost/reedsolomon dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29Bump github.com/rdleal/intervalst from 1.2.1 to 1.2.2 (#5258)dependabot[bot]2-3/+3
Bumps [github.com/rdleal/intervalst](https://github.com/rdleal/intervalst) from 1.2.1 to 1.2.2. - [Commits](https://github.com/rdleal/intervalst/compare/v1.2.1...v1.2.2) --- updated-dependencies: - dependency-name: github.com/rdleal/intervalst dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29Bump wangyoucao577/go-release-action from 1.42 to 1.46 (#5254)dependabot[bot]6-14/+14
2024-01-29Fix/bad mount path better default value (#5253)spastorclovr2-16/+26
2024-01-28wait 3 seconds before shutting down publish client, to wait for all messages ↵chrislu2-12/+29
to be received
2024-01-28unused codechrislu1-71/+0
2024-01-28lock for creating local partitionchrislu3-14/+24
2024-01-28read existing topic confchrislu1-4/+5
2024-01-28wait for each publish clientschrislu1-2/+4
2024-01-28read will block if no itemschrislu3-21/+44
2024-01-28adjust visibilitychrislu2-2/+2
2024-01-28refactorchrislu3-22/+28
2024-01-28refactorchrislu4-31/+19
2024-01-28wait for publishing clientschrislu2-5/+16
2024-01-28clean upchrislu1-9/+0
2024-01-28return the lookup resultschrislu1-0/+1
2024-01-27publish to input bufferchrislu7-134/+103
currently, the input buffer may not exist when start to publish
2024-01-27close the inputchrislu1-2/+22
2024-01-27Update buffered_queue_test.gochrislu1-10/+6
2024-01-27moved. there are some deadlock. WIPChris Lu2-23/+59
2024-01-26schedule jobschrislu2-0/+182
2024-01-26weed/storage: Fix volume info file permissions (#5246)Benoît Knecht1-3/+2
2024-01-25adds a buffered queuechrislu2-0/+190
2024-01-25Revert "Fix weed fix"chrislu1-28/+2
This reverts commit 6c1ce18541731b01cca7c13f6245cbaad3bca7a5.
2024-01-25weed/shell: Cleanup volume balance logic (#5241)Benoît Knecht2-13/+9
2024-01-25fix: clean metric MasterReplicaPlacementMismatch for unregister volume (#5239)Konstantin Lebedev1-0/+4
2024-01-25weed/shell: Fix volume.balance logic (#5238)Benoît Knecht1-6/+6
2024-01-24fix: s3tests test_get_object_ifnonematch_good (#5237)Konstantin Lebedev1-1/+3
2024-01-24Enable multiple disks per volume server. Also streamline the use of /logs & ↵spastorclovr3-70/+88
/idx (#5236) * Enable multiple disks per volume server. Also streamline the use of /logs and /idx * missing file * add loop around volume mounts for initContainers * remove uneeded name for idx
2024-01-23return dir assign counterchrislu1-0/+1
fix https://github.com/seaweedfs/seaweedfs/issues/5231
2024-01-23return dir assign counterchrislu1-0/+1
fix https://github.com/seaweedfs/seaweedfs/issues/5231
2024-01-23Merge branch 'master' into mq-subscribechrislu3-13/+0
2024-01-23same logic as grpc assignchrislu3-13/+0
fix https://github.com/seaweedfs/seaweedfs/issues/5213
2024-01-22Merge branch 'master' into mq-subscribechrislu4-58/+90
2024-01-22adjust exception textchrislu1-1/+1
2024-01-22Update the solution when a file cannot be located. (#5223)Chen Honghai1-1/+1
Change the solution when a file cannot be located.
2024-01-22when configure, cancel existing assignmentschrislu1-0/+5
2024-01-22sub broker wait for partitionchrislu1-1/+6
2024-01-22pub/sub brokers check filer for assigned partitionschrislu3-33/+31
2024-01-22refactorchrislu2-46/+48
2024-01-22no need to assign partitions explicitlychrislu1-4/+3
2024-01-22updated and added assignmentschrislu2-9/+14
2024-01-22add/remove assigned partitionschrislu4-71/+103
2024-01-22refactorchrislu1-10/+17
2024-01-22refactorchrislu2-157/+165