chrislu
d49ecde535
rename functions
5 months ago
chrislu
4fee496b49
conditional delete
5 months ago
wyang
0581ce6096
fix delete chunk failed if volumeSever specified grpc.port ( #5820 )
Co-authored-by: Yang Wang <yangwang@weride.ai>
5 months ago
chrislu
aed2a18223
get, set and add path conf
5 months ago
chrislu
a8fa78b892
refactoring
5 months ago
vadimartynov
86d92a42b4
Added tls for http clients ( #5766 )
* Added global http client
* Added Do func for global http client
* Changed the code to use the global http client
* Fix http client in volume uploader
* Fixed pkg name
* Fixed http util funcs
* Fixed http client for bench_filer_upload
* Fixed http client for stress_filer_upload
* Fixed http client for filer_server_handlers_proxy
* Fixed http client for command_fs_merge_volumes
* Fixed http client for command_fs_merge_volumes and command_volume_fsck
* Fixed http client for s3api_server
* Added init global client for main funcs
* Rename global_client to client
* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold
* Reduce the visibility of some functions in the util/http/client pkg
* Added the loadSecurityConfig function
* Use util.LoadSecurityConfiguration() in NewHttpClient func
5 months ago
wusong
ce61a66b65
Fix mmap write fail ( #5791 )
* [mount] fix GetAttr blocks count
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
* [mount] fix mmap read
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
---------
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
5 months ago
chrislu
4e7d8eb3f1
small refactoring
5 months ago
chrislu
2addcd1623
fix test
5 months ago
chrislu
590397229e
fix heap init
6 months ago
chrislu
06e3dd306f
clean up
6 months ago
chrislu
c59517e284
upgrade to github.com/redis/go-redis/v9
fix https://github.com/seaweedfs/seaweedfs/issues/4532
6 months ago
chrislu
33b11f92bc
Squashed commit of the following:
commit 465b47b8f7
Merge: f39272b54 9c440d472
Author: chrislu <chris.lu@gmail.com>
Date: Wed Jul 10 23:56:51 2024 -0700
Merge branch 'master' into merged-persisted-logs
commit f39272b5416bdd4d1714ce3e99aded0fe62e7d89
Author: chrislu <chris.lu@gmail.com>
Date: Wed Jul 10 23:49:26 2024 -0700
merge meta logs from multiple files
6 months ago
chrislu
d29fccc521
skip checking if it is the root directory
6 months ago
chrislu
0fdf7eca48
avoid possible nil case during other error cases
6 months ago
chrislu
d8dfadb617
ParallelProcessDirectoryStructure
need to use this for simpler parallel processing
6 months ago
chrislu
c030cb3ce9
bootstrap filer from one peer
6 months ago
chrislu
cb67137a03
optionally open the leveldb in readonly mode
6 months ago
chrislu
9ac1023362
check bucket name in sql backend
fix https://github.com/seaweedfs/seaweedfs/issues/5710
6 months ago
chrislu
464611f614
optionally skip deleting file chunks
6 months ago
chrislu
843e778875
refactor
6 months ago
chrislu
677cfb8ad1
refactor
6 months ago
vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
6 months ago
chrislu
dbfbabac55
simplify
7 months ago
dependabot[bot]
722a14ef57
chore(deps): bump github.com/ydb-platform/ydb-go-sdk-auth-environ from 0.2.0 to 0.4.2 ( #5621 )
* chore(deps): bump github.com/ydb-platform/ydb-go-sdk-auth-environ
Bumps [github.com/ydb-platform/ydb-go-sdk-auth-environ](https://github.com/ydb-platform/ydb-go-sdk-auth-environ ) from 0.2.0 to 0.4.2.
- [Changelog](https://github.com/ydb-platform/ydb-go-sdk-auth-environ/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ydb-platform/ydb-go-sdk-auth-environ/compare/v0.2.0...v0.4.2 )
---
updated-dependencies:
- dependency-name: github.com/ydb-platform/ydb-go-sdk-auth-environ
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix compilation
---------
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>
7 months ago
sb
a3a00d9499
Feature/mongodb security ( #5602 )
7 months ago
sb
3fae87632f
add filer configuration options for username/password and tls ( #5601 )
7 months ago
dependabot[bot]
36a1cf0361
chore(deps): bump github.com/viant/ptrie from 0.3.1 to 1.0.1 ( #5552 )
* chore(deps): bump github.com/viant/ptrie from 0.3.1 to 1.0.1
Bumps [github.com/viant/ptrie](https://github.com/viant/ptrie ) from 0.3.1 to 1.0.1.
- [Release notes](https://github.com/viant/ptrie/releases )
- [Changelog](https://github.com/viant/ptrie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/viant/ptrie/compare/v0.3.1...v1.0.1 )
---
updated-dependencies:
- dependency-name: github.com/viant/ptrie
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix compilation
---------
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>
8 months ago
Nikita Borzykh
0d04264494
Move file deletion logging to v2 verbisity ( #5538 )
8 months ago
Henco Appel
5c8e6014ba
fix: filer authenticate with with volume server ( #5480 )
9 months ago
chrislu
ccdd9cd8de
refactor
9 months ago
Nikita Borzykh
829c0da381
fix: adjust condition in prefixFilterEntries prevent infinite loop ( #5440 )
9 months ago
chrislu
36fec34c47
print only adapted url
fix https://github.com/seaweedfs/seaweedfs/issues/5424
9 months ago
Nikita Borzykh
9ca871af53
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries in etcd meta storage backend ( #5416 )
Move ListDirectoryEntries logic to ListDirectoryPrefixedEntries
9 months ago
Nikita Borzykh
1f3742850d
Add TLS support, initial etcd connection check, fix key_prefix handling for etcd backend meta storage ( #5403 )
9 months ago
chrislu
56ce040ab6
log errors
9 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
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