aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
AgeCommit message (Collapse)AuthorFilesLines
2024-09-24fix(volume): don't persist RO state in specific cases (#6058)Max Denushev6-16/+22
* fix(volume): don't persist RO state in specific cases * fix(volume): writable always persist
2024-09-19Vol check disk bug (#6044)dsd1-19/+34
* fix volume.check.disk * ensure multiple replica sync * add comment --------- Co-authored-by: 邓书东 <shudong_deng@hhnb2024010108.intsig.com>
2024-09-16improve worm support (#5983)Guang Jiong Lou1-0/+2
* improve worm support Signed-off-by: lou <alex1988@outlook.com> * worm mode in filer Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * move to fs configure Signed-off-by: lou <alex1988@outlook.com> * remove flag Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * support worm hardlink Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * typo Signed-off-by: lou <alex1988@outlook.com> * sync filer conf Signed-off-by: lou <alex1988@outlook.com> --------- Signed-off-by: lou <alex1988@outlook.com>
2024-09-09[shell] fix volume grow in shell (#5992)Konstantin Lebedev1-14/+73
* fix volume grow in shell * revert add Async * check available volume space * create a VolumeGrowRequest and remove unnecessary fields
2024-09-01Show volume server which failed to verify a chunk (#5958)Eugeniy E. Mikhailov1-4/+4
2024-08-23filer.remote.gateway not filer.remote.sync for remote.mount.buckets help ↵Shaun Alexander1-1/+1
string. (#5934)
2024-08-16EC volume supports expiration and displays expiration message when executing ↵augustazz1-1/+8
volume.list (#5895) * ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
2024-08-15minorchrislu1-1/+1
2024-08-12load ec volume id locationschrislu1-0/+7
fix https://github.com/seaweedfs/seaweedfs/issues/5713
2024-08-08fix opposite logicchrislu1-2/+2
fix https://github.com/seaweedfs/seaweedfs/issues/5871
2024-08-08[remote.cache, remote.uncache] fix min/max agechrislu1-2/+3
fix https://github.com/seaweedfs/seaweedfs/issues/5871
2024-08-05[shell] volume.grow (#5855)Konstantin Lebedev1-0/+64
2024-08-01renamechrislu2-2/+2
2024-07-31fsck: only check the appendNs of deleted needle (#5841)wyang1-45/+43
increase fsck speed Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-07-26fix evacuate volume to different disk types (#5530)wyang1-3/+4
Co-authored-by: wyang <wyang@wyangs-Air.lan>
2024-07-20get, set and add path confchrislu1-1/+1
2024-07-16Added tls for http clients (#5766)vadimartynov3-14/+15
* 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
2024-07-15Add warning with hints to why a EC shard cant be moved (#5790)Dan1-2/+6
2024-07-10always copy ecj fileschrislu1-1/+1
2024-07-03volume.tier.upload: Fix deleting replicated volumes (#5743)rhysm1-1/+4
Co-authored-by: Rhys M <rhysm@protonmail.com>
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev1-1/+1
2024-06-20chore: hot fix panic fs.verify (#5696)Konstantin Lebedev1-3/+4
2024-06-19[fs.verify] skip failed files if entry not found on filerStore (#5693)Konstantin Lebedev1-21/+54
2024-06-18[fs.verify] getmeta data from filer log (#5678)Konstantin Lebedev1-65/+104
* initial * fix: print entry path
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov2-3/+4
* 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
2024-06-11fix issue: sometimes volume.fsck report 'volume not found' (#5537)Taehyung Lim1-5/+10
* fix issue: sometimes volume.fsck report 'volume not found' when a volume server has multiple disk types * rename variable * adjust counters --------- Co-authored-by: chrislu <chris.lu@gmail.com>
2024-06-02Support concurrent volume.fsck & support disabling -cutoffTimeAgo to improve ↵NyaMisty1-18/+33
speed (#5636)
2024-06-02Ignore remote volume when selecting volumes in operation ↵NyaMisty1-0/+4
(ec.encode/volume.tier.upload) (#5635)
2024-06-02Fix volume.tier.upload nil pointer panic (#5634)NyaMisty1-0/+6
2024-05-27Replaces volume.unmount in the help of the volumeServer.leave (#5619)Vlad1-1/+1
2024-05-21fix wrong prefix exampleChris Lu1-1/+1
2024-05-21chore: add missing concurrency help in fs.meta.load command (#5609)Vlad1-0/+1
2024-05-20go fmtchrislu1-1/+1
2024-04-23fix "volume.fix.replication" move many replications only to one volumeServer ↵skycope3-15/+23
(#5522)
2024-04-12add testchrislu1-2/+17
2024-04-08fix(volume.fix.replication): adjust volume count, not free volume count (#5479)steve.wei1-4/+4
2024-03-17simplifychrislu2-3/+3
2024-03-17Revert "remove github.com/golang/protobuf/proto"chrislu1-4/+3
This reverts commit 1516e0249f5c7259880c3b5365b42ee0469510dd.
2024-03-16remove github.com/golang/protobuf/protochrislu1-3/+4
2024-03-07Merge branch 'master' into mq-subscribechrislu2-19/+53
2024-03-07Merge branch 'master' of https://github.com/seaweedfs/seaweedfschrislu1-0/+53
2024-03-07purge cluster idchrislu1-19/+0
2024-03-05[shell] fs log purge (#5344)Konstantin Lebedev1-0/+53
* fix: install cronie * chore: shell delete old logs * Revert "fix: install cronie" This reverts commit 920832b04b89a0a0c9e12b3d51fe710fc622dad6. * fix: dayAgo * fix: Nit: dayAgo => daysAgo
2024-02-25Merge branch 'master' into mq-subscribechrislu1-30/+41
2024-02-15fix: fs verify error counter (#5261)Konstantin Lebedev1-30/+41
2024-02-05fix on finding lock ownerChris Lu1-1/+1
2024-02-04Merge branch 'master' into mq-subscribeChris Lu3-28/+35
2024-01-29weed/shell: Cluster check other disk types (#5245)Benoît Knecht1-9/+20
* week/shell: Cluster check other disk types The `cluster.check` command only took the empty (`""`) and `hdd` disk types into consideration, but a cluster with only `ssd` or `nvme` disk types would be equally valid. This commit simply checks that _any_ disk type is defined, and that some volumes are available for it. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Replace loop that copies slice Use the following construct instead of a `for` loop: ```golang x = append(x, y...) ``` See https://staticcheck.dev/docs/checks#S1011. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Check disk types when filer is in use Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes, so make sure those disk types exist and have volumes associated with them when Filer is deployed in the cluster. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> --------- Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2024-01-25weed/shell: Cleanup volume balance logic (#5241)Benoît Knecht2-13/+9
2024-01-25weed/shell: Fix volume.balance logic (#5238)Benoît Knecht1-6/+6