Nikita Borzykh
9ca871af53
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries in etcd meta storage backend ( #5416 )
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries
10 months ago
Nikita Borzykh
1f3742850d
Add TLS support, initial etcd connection check, fix key_prefix handling for etcd backend meta storage ( #5403 )
10 months ago
chrislu
56ce040ab6
log errors
10 months ago
chrislu
604091a480
use stopChan to close previous filer peer meta subscription instances
10 months ago
chrislu
1efa502dbb
go fmt
10 months ago
chrislu
34f2b600ac
each log function adds a "done" return parameter
10 months ago
chrislu
1b4484bf0a
go fmt
10 months ago
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
11 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
12 months ago
chrislu
fa59a5d67e
read from disk if not in memory
12 months ago
chrislu
d6ba97219b
refactoring
12 months ago
Konstantin Lebedev
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
1 year ago
chrislu
49428a303b
add batch index for each memory buffer
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
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