Chris Lu
32cb9b3276
fix unaligned 64-bit atomic operation in weed mount on arm when readi… ( #5308 )
fix unaligned 64-bit atomic operation in weed mount on arm when reading a file
fix #5306
10 months ago
Chris Lu
56df44845f
fix when two consecutive chunks with the same modified_ts_ns
fix https://github.com/seaweedfs/seaweedfs/issues/5276
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
chrislu
1877ce5126
rename
11 months ago
chrislu
fa59a5d67e
read from disk if not in memory
11 months ago
chrislu
d6ba97219b
refactoring
11 months ago
Konstantin Lebedev
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
12 months ago
chrislu
49428a303b
add batch index for each memory buffer
12 months 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
Konstantin Lebedev
3c9bcfb864
chore: add dsn for connection to mysql ( #5060 )
* chore: add dsn for connection to mysql
* add comment
* new comment
* fix: validate dsn and adapt password
1 year ago
Farbod
d5c01e5ceb
Remote gateway Bug fix ( #5100 )
1 year ago
Konstantin Lebedev
125ad8fe63
falls back to update only if error contains msg "duplicate entry"
https://github.com/seaweedfs/seaweedfs/issues/5062
1 year ago
chrislu
81f11883e3
go fmt
1 year ago
duanhongyi
bf839651ec
Fix: issues #4950 ( #4952 )
1 year ago
lakeland1990
3df0e11ad3
remove compare to fix #4668 issue ( #4924 )
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
chrislu
645ae8c57b
Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs ""
This reverts commit 8cb42c39
1 year ago
chrislu
8cb42c39ad
Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs "
This reverts commit 2e5aa06026
, reversing
changes made to 4d414f54a2
.
1 year ago
dependabot[bot]
a04bd4d26f
Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 ( #4850 )
* 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>
1 year ago
annluda
8908810376
Fix s3 api object list with params max-keys and prefix
1 year ago
Nico D'Cotta
796b7508f3
Implement SRV lookups for filer ( #4767 )
1 year ago
chrislu
c09100f928
fix building mongo index
1 year ago
chrislu
6f588b5b18
fix refactoring mistake
fix https://github.com/seaweedfs/seaweedfs/issues/4639
1 year ago
chrislu
61c42f9991
adjust lock APIs
2 years ago
chrislu
06471dac9d
init lock ring
2 years ago
chrislu
868f7875d7
refactor
2 years ago
chrislu
3fd659df2a
add distributed lock manager
2 years ago
chrislu
3fbf4f6189
Revert "Initial patch for redis version 7 support ( #4572 )"
This reverts commit a25bca0692
.
2 years ago
Aaron Gipson
a25bca0692
Initial patch for redis version 7 support ( #4572 )
2 years ago
wusong
d6af3a8eb6
fix 404 not found ( #4536 )
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
Mesar Hameed
a90b777ff4
Feat: etcd filer store keys should have customizable prefix ( #4484 )
An etcd cluster is not necessarily only dedicated to seaweedfs.
This security enhancement adds a customizable key_prefix option to the etcd filer store.
This will allow an etcd cluster administrator to limit the seaweedfs etcd user to only read/write a subset of keys under the
key_prefix, instead of all keys on the etcd cluster.
2 years ago
chrislu
b7f011f777
fix test
2 years ago
Mesar Hameed
65484e80ef
Feat: support username/password authentication for etcd filer store s… ( #4477 )
Feat: support username/password authentication for etcd filer store seaweedfs/seaweedfs#4262
Co-authored-by: Mesar Hameed <mesar.hameed@gmail.com>
2 years ago
wusong
4867aa03ab
Fix: http rename move dir to subdir ( #4432 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
zemul
0122e022ea
Mount concurrent read ( #4400 )
* fix:mount deadlock
* feat: concurrent read
* fix
* Remove useless code
* fix
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
LHHDZ
8e80ce9476
fix key corrupt when fs.configure copy path trie ( #4353 )
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
chrislu
5db9fcccd4
refactoring
2 years ago
chrislu
9bb0a9e306
clean comments
2 years ago
chrislu
545d5d0cc3
fix for io.ReaderAt used in filer.remote.sync
fix https://github.com/seaweedfs/seaweedfs/issues/4194
2 years ago
chrislu
84e9934bf9
fix filer.remote.sync on a S3 cloud mount
fix https://github.com/seaweedfs/seaweedfs/issues/4175
2 years ago
Neo
b9b613a78e
filter system log dir does not make subscribe event ( #4172 )
2 years ago
chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago
chrislu
bfe5d910c6
use one readerCache for the whole file
2 years ago
chrislu
12f8251d32
avoid index out of slice range
2 years ago
Chris Lu
1cd2e64aac
merge chunks during upload ( #4130 )
* merge chunks during upload
* fix test
2 years ago
chrislu
361d97941b
mysql: Missed escaping column name
fix https://github.com/seaweedfs/seaweedfs/issues/4129
2 years ago
chrislu
85f1b70207
reduce group size from 256MB to 64MB
2 years ago
chrislu
9e0d526163
fix compilation
2 years ago
chrislu
7f49c59c14
cluster.ps add filer meta sync progress
2 years ago
chrislu
340e7c3a2e
chunk group remove manifestChunks and reset sections in SetChunks()
2 years ago