aboutsummaryrefslogtreecommitdiff
path: root/weed/command
AgeCommit message (Collapse)AuthorFilesLines
2025-07-15support multiple masterschrislu1-1/+10
fix https://github.com/seaweedfs/seaweedfs/issues/6988
2025-07-11Admin UI: Add message queue to admin UI (#6958)Chris Lu3-8/+42
* add a menu item "Message Queue" * add a menu item "Message Queue" * move the "brokers" link under it. * add "topics", "subscribers". Add pages for them. * refactor * show topic details * admin display publisher and subscriber info * remove publisher and subscribers from the topic row pull down * collecting more stats from publishers and subscribers * fix layout * fix publisher name * add local listeners for mq broker and agent * render consumer group offsets * remove subscribers from left menu * topic with retention * support editing topic retention * show retention when listing topics * create bucket * Update s3_buckets_templ.go * embed the static assets into the binary fix https://github.com/seaweedfs/seaweedfs/issues/6964
2025-07-10[Enhancement] support fix for remote files with command fix (#6961)chalet1-3/+12
2025-07-09add mq agent options to server.gochrislu1-8/+26
2025-07-07* Fix undefined http serve behaiver (#6943)zuzuviewer7-61/+62
2025-07-06remove sqlite due to GOOS support for freebsd and openbsd3.93chrislu2-9/+0
2025-07-06Admin UI add maintenance menu (#6944)Chris Lu4-40/+353
* add ui for maintenance * valid config loading. fix workers page. * refactor * grpc between admin and workers * add a long-running bidirectional grpc call between admin and worker * use the grpc call to heartbeat * use the grpc call to communicate * worker can remove the http client * admin uses http port + 10000 as its default grpc port * one task one package * handles connection failures gracefully with exponential backoff * grpc with insecure tls * grpc with optional tls * fix detecting tls * change time config from nano seconds to seconds * add tasks with 3 interfaces * compiles reducing hard coded * remove a couple of tasks * remove hard coded references * reduce hard coded values * remove hard coded values * remove hard coded from templ * refactor maintenance package * fix import cycle * simplify * simplify * auto register * auto register factory * auto register task types * self register types * refactor * simplify * remove one task * register ui * lazy init executor factories * use registered task types * DefaultWorkerConfig remove hard coded task types * remove more hard coded * implement get maintenance task * dynamic task configuration * "System Settings" should only have system level settings * adjust menu for tasks * ensure menu not collapsed * render job configuration well * use templ for ui of task configuration * fix ordering * fix bugs * saving duration in seconds * use value and unit for duration * Delete WORKER_REFACTORING_PLAN.md * Delete maintenance.json * Delete custom_worker_example.go * remove address from workers * remove old code from ec task * remove creating collection button * reconnect with exponential backoff * worker use security.toml * start admin server with tls info from security.toml * fix "weed admin" cli description
2025-07-02[volume] refactor and add metrics for flight upload and download data limit ↵Konstantin Lebedev2-4/+9
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>
2025-07-02Add credential storage (#6938)Chris Lu5-6/+75
* 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
2025-07-01Add admin component (#6928)Chris Lu2-0/+237
* 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>
2025-06-28use telemetry.seaweedfs.comchrislu2-2/+2
2025-06-28add telemetry (#6926)Chris Lu2-0/+8
* 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
2025-06-26reference seaweedfs.comchrislu1-0/+3
2025-06-25use master.toml value if not emptychrislu1-1/+7
fix https://github.com/seaweedfs/seaweedfs/issues/6922
2025-06-19pass volume version when creating a volumechrislu2-3/+6
2025-06-16allow distro mount command to use disableXAttr (#6872)Erik Jacobson1-0/+7
2025-06-12mount: complete fix for freebsdchrislu3-5/+11
fix https://github.com/seaweedfs/seaweedfs/issues/6645
2025-06-03fix buildchrislu1-2/+2
2025-06-03change version directorychrislu12-23/+33
2025-06-02Update filer upsert sqlstring for postgresql (#6835)Luna Yao1-2/+14
2025-05-28Add context with request (#6824)Aleksey Kosov2-4/+4
2025-05-23Make fuse command linux/MacOS only (#6811)Weihao Jiang4-261/+280
2025-05-22Fix mysql tls enable (#6807)bwlfhu1-0/+4
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 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 Kosov5-6/+7
Co-authored-by: akosov <a.kosov@kryptonite.ru>
2025-05-05Add SFTP Server Support (#6753)Mohamed Sekour4-0/+250
* 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-04adds tls exampleschrislu1-0/+24
related to https://github.com/seaweedfs/seaweedfs/pull/6738
2025-05-01fix: S3 Feature: please add s3.idleTimeout command line parameter #6746 (#6747)ARibster3-2/+7
ildeTimeout command line parameter for s3
2025-04-28fix #6733 add s3.ip.bind command line parameter (#6741)ARibster1-1/+4
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-03-29Tarantool filer store (#6669)MaratKarimov3-2/+10
Co-authored-by: Marat Karimov <m.karimov@digitalms.ru>
2025-03-28add lua redis store to ensure atomicity (#6671)Chris Lu1-0/+35
2025-03-25fix help messagechrislu1-1/+1
2025-03-24feat/fix: add s3.cacert.file/tlsVerifyClientCert to filer command (#6659)Karol Będkowski1-0/+2
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
2025-03-17Allow standalone webdav server to bind specific address (#6403)Weihao Jiang3-4/+9
* Allow standalone webdav to bind specific address * Rename bindIp to ipBind * Bind embedded webdav IP to its parent
2025-03-09Accumulated changes for message queue (#6600)Chris Lu2-2/+4
* 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
2025-03-06clear cache directory when mount exits (#6605)lizhengui0071-0/+2
Signed-off-by: lizhengui <lizhengui@virtaitech.com> Co-authored-by: lizhengui <lizhengui@virtaitech.com>
2025-02-26Update filer.tomlchrislu1-1/+1
2025-02-26update redis support statuschrislu1-34/+0
2025-02-26not planning to redis3chrislu1-30/+0
2025-02-26add cassandra2 (#6582)Chris Lu1-2/+3
2025-02-13fix: s3 command ignore -tlsVerifyClientCert and -cacert.file arguments (#6547)Karol Będkowski1-2/+2
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.
2025-02-07Nit: remove missing newlines on `weed shell` commands output. (#6524)Lisandro Pin1-1/+1
Nit: remove missing newlines on `weed` commands output.
2025-02-06fix: bucket-hook fails with gnu wget (#6521)Ethan Mosbaugh1-1/+1
2025-01-20Add message queue agent (#6463)Chris Lu2-0/+79
* scaffold message queue agent * adjust proto, add mq_agent * add agent client implementation * remove unused function * agent publish server implementation * adding agent
2025-01-17fix S3 per-user-directory Policy (#6443)Tom Crasset1-2/+3
* 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>