Konstantin Lebedev
93007c1842
[volume] refactor and add metrics for flight upload and download data limit condition ( #6920 )
* refactor concurrentDownloadLimit
* fix loop
* fix cmdServer
* fix: resolve conversation pr 6920
* Changes logging function (#6919 )
* updated logging methods for stores
* updated logging methods for stores
* updated logging methods for filer
* updated logging methods for uploader and http_util
* updated logging methods for weed server
---------
Co-authored-by: akosov <a.kosov@kryptonite.ru>
* Improve lock ring (#6921 )
* fix flaky lock ring test
* add more tests
* fix: build
* fix: rm import util/version
* fix: serverOptions
* refactoring
---------
Co-authored-by: Aleksey Kosov <rusyak777@list.ru>
Co-authored-by: akosov <a.kosov@kryptonite.ru>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
1 month ago
Chris Lu
1db7c2b8aa
Add credential storage ( #6938 )
* add credential store interface
* load credential.toml
* lint
* create credentialManager with explicit store type
* add type name
* InitializeCredentialManager
* remove unused functions
* fix missing import
* fix import
* fix nil configuration
1 month ago
Chris Lu
1defee3d68
Add admin component ( #6928 )
* init version
* relocate
* add s3 bucket link
* refactor handlers into weed/admin folder
* fix login logout
* adding favicon
* remove fall back to http get topology
* grpc dial option, disk total capacity
* show filer count
* fix each volume disk usage
* add filers to dashboard
* adding hosts, volumes, collections
* refactor code and menu
* remove "refresh" button
* fix data for collections
* rename cluster hosts into volume servers
* add masters, filers
* reorder
* adding file browser
* create folder and upload files
* add filer version, created at time
* remove mock data
* remove fields
* fix submenu item highlighting
* fix bucket creation
* purge files
* delete multiple
* fix bucket creation
* remove region from buckets
* add object store with buckets and users
* rendering permission
* refactor
* get bucket objects and size
* link to file browser
* add file size and count for collections page
* paginate the volumes
* fix possible SSRF
https://github.com/seaweedfs/seaweedfs/pull/6928/checks?check_run_id=45108469801
* Update weed/command/admin.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/command/admin.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix build
* import
* remove filer CLI option
* remove filer option
* remove CLI options
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 month ago
chrislu
166e36bcd3
use telemetry.seaweedfs.com
2 months ago
Chris Lu
a1aab8a083
add telemetry ( #6926 )
* add telemetry
* fix go mod
* add default telemetry server url
* Update README.md
* replace with broker count instead of s3 count
* Update telemetry.pb.go
* github action to deploy
2 months ago
chrislu
5e79436498
reference seaweedfs.com
2 months ago
chrislu
ab49540d2b
use master.toml value if not empty
fix https://github.com/seaweedfs/seaweedfs/issues/6922
2 months ago
chrislu
2f1b3d68d7
pass volume version when creating a volume
2 months ago
Erik Jacobson
77397be070
allow distro mount command to use disableXAttr ( #6872 )
2 months ago
chrislu
c79e73aa2a
mount: complete fix for freebsd
fix https://github.com/seaweedfs/seaweedfs/issues/6645
2 months ago
chrislu
2f3de5e199
fix build
2 months ago
chrislu
bd4891a117
change version directory
2 months ago
Luna Yao
5e354a18a3
Update filer upsert sqlstring for postgresql ( #6835 )
2 months ago
Aleksey Kosov
283d9e0079
Add context with request ( #6824 )
3 months ago
Weihao Jiang
ea70d17c5f
Make fuse command linux/MacOS only ( #6811 )
3 months ago
bwlfhu
f1181f1121
Fix mysql tls enable ( #6807 )
3 months ago
chrislu
f3d44b1eb6
Update fuse.go
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.
3 months ago
chrislu
25d6310307
fix error format
3 months ago
Weihao Jiang
874b4a5535
Ensure `weed fuse` master process exits after mounted ( #6809 )
* Ensure fuse master process wait for mounted
* Validate parent PID input in fuse command
3 months ago
Aleksey Kosov
165af32d6b
added context to filer_client method calls ( #6808 )
Co-authored-by: akosov <a.kosov@kryptonite.ru>
3 months ago
Mohamed Sekour
93aed187e9
Add SFTP Server Support ( #6753 )
* 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>
3 months ago
ARibster
a2c5510ae1
Addendum to issue #6733 ( #6756 )
add s3.ip.bind command line parameter to filer
3 months ago
chrislu
ed15357c7a
adds tls examples
related to https://github.com/seaweedfs/seaweedfs/pull/6738
3 months ago
ARibster
d424cbbcd5
fix: S3 Feature: please add s3.idleTimeout command line parameter #6746 ( #6747 )
ildeTimeout command line parameter for s3
3 months ago
ARibster
9f4be83e88
fix #6733 add s3.ip.bind command line parameter ( #6741 )
4 months ago
Konstantin Lebedev
aa9121aa9d
Revert "[filer] void panic if s3opt.tlsCACertificate is nill" ( #6694 )
Revert "[filer] void panic if s3opt.tlsCACertificate is nill (#6685 )"
This reverts commit 4dca59ed27
.
4 months ago
Konstantin Lebedev
4dca59ed27
[filer] void panic if s3opt.tlsCACertificate is nill ( #6685 )
* fix issues/6684
* add s3.cacert.file option for filer
4 months ago
MaratKarimov
ba3afd1803
Tarantool filer store ( #6669 )
Co-authored-by: Marat Karimov <m.karimov@digitalms.ru>
5 months ago
Chris Lu
669a3917af
add lua redis store to ensure atomicity ( #6671 )
5 months ago
chrislu
138b66231a
fix help message
5 months ago
Karol Będkowski
95746f48e6
feat/fix: add s3.cacert.file/tlsVerifyClientCert to filer command ( #6659 )
This prevent crash filler with nil pointer dereference as s3 expect this
parameters.
New two parameters are added to filer command - copy of s3 parameters:
- s3.cacert.file - path to the TLS CA certificate file
- s3.tlsVerifyClientCert - whether to verify the client's certificate
5 months ago
Weihao Jiang
75ef324533
Allow standalone webdav server to bind specific address ( #6403 )
* Allow standalone webdav to bind specific address
* Rename bindIp to ipBind
* Bind embedded webdav IP to its parent
5 months ago
Chris Lu
02773a6107
Accumulated changes for message queue ( #6600 )
* rename
* set agent address
* refactor
* add agent sub
* pub messages
* grpc new client
* can publish records via agent
* send init message with session id
* fmt
* check cancelled request while waiting
* use sessionId
* handle possible nil stream
* subscriber process messages
* separate debug port
* use atomic int64
* less logs
* minor
* skip io.EOF
* rename
* remove unused
* use saved offsets
* do not reuse session, since always session id is new after restart
remove last active ts from SessionEntry
* simplify printing
* purge unused
* just proxy the subscription, skipping the session step
* adjust offset types
* subscribe offset type and possible value
* start after the known tsns
* avoid wrongly set startPosition
* move
* remove
* refactor
* typo
* fix
* fix changed path
5 months ago
lizhengui007
61249d8dde
clear cache directory when mount exits ( #6605 )
Signed-off-by: lizhengui <lizhengui@virtaitech.com>
Co-authored-by: lizhengui <lizhengui@virtaitech.com>
5 months ago
chrislu
314f211260
Update filer.toml
6 months ago
chrislu
9bd4c47299
update redis support status
6 months ago
chrislu
4613186e8a
not planning to redis3
6 months ago
Chris Lu
df436d342b
add cassandra2 ( #6582 )
6 months ago
Karol Będkowski
441614b386
fix: s3 command ignore -tlsVerifyClientCert and -cacert.file arguments ( #6547 )
s3 command ignore tlsVerifyClientCert and cacert.file arguments from
command line. On startS3Server instead of use real values (in s3opt),
default values (from s3Options, always empty) are checked.
Now on right values are checked and if user provide this arguments
RequireAndVerifyClientCert is set and/or ca certificate is loaded.
6 months ago
Lisandro Pin
e8d8bfcccc
Nit: remove missing newlines on `weed shell` commands output. ( #6524 )
Nit: remove missing newlines on `weed` commands output.
6 months ago
Ethan Mosbaugh
9ebc132ffc
fix: bucket-hook fails with gnu wget ( #6521 )
6 months ago
Chris Lu
cc05874d06
Add message queue agent ( #6463 )
* scaffold message queue agent
* adjust proto, add mq_agent
* add agent client implementation
* remove unused function
* agent publish server implementation
* adding agent
7 months ago
Tom Crasset
c5f21b2b01
fix S3 per-user-directory Policy ( #6443 )
* fix S3 per-user-directory Policy
* Delete docker/config.json
* add tests
* remove logs
* undo modifications of weed/shell/command_volume_balance.go
* remove modifications of docker-compose
* fix failing test
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
7 months ago
chrislu
ec155022e7
"golang.org/x/exp/slices" => "slices" and go fmt
8 months ago
zemul
e77e50886e
mount metacache add ttl ( #6360 )
* fix:mount deadlock
* fix
* feat: metaCache ttl
* Update weed/command/mount.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
* fix InodeEntry
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
8 months ago
vadimartynov
914ff0e718
Replaced https.client.enabled with false in scaffold/security ( #6320 )
8 months ago
Konstantin Lebedev
b65eb2ec45
[security] reload whiteList on http seerver ( #6302 )
* reload whiteList
* white_list add to scaffold
8 months ago
Numblgw
aebf3952b7
filer sync: source path and exclude path support dir suffix ( #6268 )
filer sync: source path and exclude paht support dir suffix
Co-authored-by: liguowei <liguowei@xinye.com>
9 months ago
zemul
6d3e38f439
Adjust threshold config ( #6246 )
* fix:mount deadlock
* fix
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
9 months ago
Max Denushev
a5fe6e21bc
feat(filer.backup): add ignore errors option ( #6235 )
* feat(filer.backup): add ignore errors option
* feat(filer.backup): fix 404 error wrap
* feat(filer.backup): fix wrapping function
* feat(filer.backup): fix wrapping errors in genProcessFunction
* Update weed/command/filer_backup.go
* Update weed/command/filer_backup.go
* Update weed/command/filer_backup.go
---------
Co-authored-by: Max Denushev <denushev@tochka.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
9 months ago