aboutsummaryrefslogtreecommitdiff
path: root/weed
AgeCommit message (Collapse)AuthorFilesLines
2025-06-01revert part of d8c574a5ef1a811f9a0d447097d9edfcc0c1d84c (#6829)Chris Lu1-1/+1
2025-05-29Fix TTL Behavior for Directories in Path-Specific Configuration (#6827)FQHSLycopene1-0/+4
2025-05-28Further improve memory usage of `needle_map.CompactMap()`. (#6825)Lisandro Pin2-36/+40
2025-05-28Add context with request (#6824)Aleksey Kosov56-215/+250
2025-05-27unlimit the list entries in completeMultipartUpload (#6822)Bruce Zou1-3/+4
2025-05-26Unable to upload empty files to seaweed via. multipart when length is ↵royatwp1-1/+5
unknown (#6729)
2025-05-263.883.88chrislu1-1/+1
2025-05-26Fix sftp performances and add seaweedfs all-in-one deployment (#6792)Mohamed Sekour14-765/+398
* improve perfs & fix rclone & refactoring Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * improve perfs on download + add seaweedfs all-in-one deployment Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * use helper for topologySpreadConstraints and fix create home dir of sftp users Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * fix helm lint Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * add missing ctx param Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> --------- Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
2025-05-23Make fuse command linux/MacOS only (#6811)Weihao Jiang4-261/+280
2025-05-23Rewrite `needle_map.CompactMap()` for more efficient memory usage (#6813)Lisandro Pin2-88/+83
2025-05-22Fix mysql tls enable (#6807)bwlfhu2-3/+45
2025-05-22Update fuse.gochrislu1-1/+1
Changed the signal from SIGUSR1 to SIGTERM. This should fix the compilation error since SIGTERM is available on all Unix-like systems including macOS. The functionality remains similar - it will still allow the master process to wait for a signal before exiting, just using a different signal type.
2025-05-22fix compilation on windowschrislu1-2/+7
2025-05-22fix error formatchrislu1-2/+2
2025-05-22Ensure `weed fuse` master process exits after mounted (#6809)Weihao Jiang3-2/+33
* Ensure fuse master process wait for mounted * Validate parent PID input in fuse command
2025-05-22added context to filer_client method calls (#6808)Aleksey Kosov52-121/+140
Co-authored-by: akosov <a.kosov@kryptonite.ru>
2025-05-21Added middleware for processing request_id grpc and http requests (#6805)Aleksey Kosov6-21/+88
2025-05-15correctly report volume with input/output error to master (#6790)dongxufeng3-15/+21
* correctly capture io error and report to master * code fix * check io error by error.Is --------- Co-authored-by: dongxu_feng <dongxu_feng@intsig.net>
2025-05-14fix fsync logicchrislu2-2/+2
2025-05-13Nit: unify the default `--maxParallelization` value for `weed shell` ↵Lisandro Pin3-2/+7
commands supporting this option (#6788)
2025-05-12Move `shell.ErrorWaitGroup` into a common file, to cleanly reuse across ↵Lisandro Pin2-56/+66
`weed shell` commands. (#6780) Move `shell.ErrorWaitGroup` into a dedicated common file, to cleanly reuse across `weed shell` commands.
2025-05-12fix: ydb filer bugs (#6778)SmoothDenis1-20/+72
* fix: ydb filer bugs * fix(ydb): correct DeleteEntry log argument types * fix(ydb): bucket creation & deletion logic
2025-05-11Add prefix listing in mongodb_store.go (#6777)Kuzmin Anton1-7/+16
2025-05-09Fix update of `SeaweedFS_volumeServer_volumes` gauge metrics when EC shards ↵Lisandro Pin2-3/+11
are unmounted (#6776)
2025-05-09Improve safety for weed shell's `ec.encode`. (#6773)Lisandro Pin2-35/+63
Improve safety for weed shells `ec.encode`. The current process for `ec.encode` is: 1. EC shards for a volume are generated and added to a single server 2. The original volume is deleted 3. EC shards get re-balanced across the entire topology It is then possible to lose data between #2 and #3, if the underlying volume storage/server/rack/DC happens to fail, for whatever reason. As a fix, this MR reworks `ec.encode` so: * Newly created EC shards are spread across all locations for the source volume. * Source volumes are deleted only after EC shards are converted and balanced.
2025-05-09Use the correct constant when computing the offset in ↵Quentin D.1-4/+3
SearchNeedleFromSortedIndex (#6771) NeedleHeaderSize happen to have the same size as NeedleMapEntrySize, except when running the 5 bytes offset variant of Seaweedfs, because it does not contain OffsetSize. This causes ECX corruption on deletes, due to the drifting offset computation (offset is always computed on a basis of 16 bytes per record instead of 17 bytes) Signed-off-by: Quentin Devos <4972091+Okhoshi@users.noreply.github.com>
2025-05-08Improve parallelization for `ec.encode` (#6769)Lisandro Pin1-34/+61
Improve parallelization for `ec.encode`. Instead of processing one volume at at time, perform all EC conversion steps (mark readonly -> generate EC shards -> delete volume -> remount) in parallel for all of them. This should substantially improve performance when EC encoding entire collections.
2025-05-07load configuration before get max_file_name_length (#6766)Bruce Zou1-13/+15
2025-05-05Add SFTP Server Support (#6753)Mohamed Sekour17-81/+2447
* Add SFTP Server Support Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * fix s3 tests and helm lint Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * increase helm chart version * adjust version --------- Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> Co-authored-by: chrislu <chris.lu@gmail.com>
2025-05-05Addendum to issue #6733 (#6756)ARibster1-1/+4
add s3.ip.bind command line parameter to filer
2025-05-043.873.87chrislu1-1/+1
2025-05-04adds tls exampleschrislu1-0/+24
related to https://github.com/seaweedfs/seaweedfs/pull/6738
2025-05-04feat(redis): add mTLS support for Redis connection initialization (#6738)Jade Devin Cabatlao2-12/+102
* feat(redis): add mTLS support for Redis connection initialization - Enhanced the Redis2Store initialization to support mutual TLS (mTLS) by adding configuration options for CA certificate, client certificate, and client key paths. - Updated the Redis client setup to use TLS configuration when mTLS is enabled, ensuring secure connections to the Redis server. * feat(redis): extend Redis3Store initialization to support mTLS - Added configuration options for enabling mutual TLS (mTLS) in Redis3Store. - Implemented logic to load client certificates and CA certificates for secure Redis connections. - Updated the Redis client setup to utilize TLS configuration when mTLS is enabled. --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2025-05-01fix: S3 Feature: please add s3.idleTimeout command line parameter #6746 (#6747)ARibster3-2/+7
ildeTimeout command line parameter for s3
2025-05-01[s3] refactor duplicate put-object code paths (#6727)Taehyung Lim3-42/+38
2025-04-28fix #6733 add s3.ip.bind command line parameter (#6741)ARibster1-1/+4
2025-04-27fix: volume.list volume info output not in order (#6737)NyaMisty1-1/+1
2025-04-23[s3] use chunkedReader in PutObjectPartHandler to handle aws-chunked ↵Taehyung Lim1-1/+1
encoding (#6725)
2025-04-23[s3] fix checksum algorithm CRC64NVMe (#6722)Konstantin Lebedev1-2/+2
2025-04-16Fix implementation of `master_pb.CollectionList` RPC call (#6715)Lisandro Pin2-5/+87
2025-04-08* Fix s3 auth failed with X-Forwarded-Host and X-Forwarded-Port (#6698)zuzuviewer1-3/+3
2025-04-07Revert "[filer] void panic if s3opt.tlsCACertificate is nill" (#6694)Konstantin Lebedev2-2/+1
Revert "[filer] void panic if s3opt.tlsCACertificate is nill (#6685)" This reverts commit 4dca59ed276f90fea1f79cf72cdeb23371f39ba8.
2025-04-07[filer] void panic if s3opt.tlsCACertificate is nill (#6685)Konstantin Lebedev2-1/+2
* fix issues/6684 * add s3.cacert.file option for filer
2025-04-02Fix volume ttl (#6683)bwlfhu2-8/+63
2025-03-31chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 (#6679)dependabot[bot]8-12/+15
* chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.40.0 to 0.41.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: gocloud.dev dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix error * fix printing errors * Update 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: chrislu <chris.lu@gmail.com>
2025-03-31skip logschrislu1-1/+1
2025-03-29Tarantool filer store (#6669)MaratKarimov10-4/+481
Co-authored-by: Marat Karimov <m.karimov@digitalms.ru>
2025-03-29errors when reading uncached files from cloud drive (#6674)Chris Lu1-1/+1
fix https://github.com/seaweedfs/seaweedfs/issues/6672
2025-03-29fix call writeJsonError with a nil value error after check another err (#6673)alingse1-2/+2
the dbErr != nil and err is nil when call writeJsonError with a nil value error, it may panic
2025-03-28add lua redis store to ensure atomicity (#6671)Chris Lu1-0/+35