aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
AgeCommit message (Collapse)AuthorFilesLines
2024-10-24ensure 2 volume space since actual need 1.4x volume size empty spacechrislu1-2/+2
2024-10-24correcting free volume count, factor it during ec encoding to ensure enough ↵chrislu1-3/+19
disk space available fix https://github.com/seaweedfs/seaweedfs/issues/6163
2024-10-24adjust output formatchrislu1-3/+3
2024-10-24rename proto field from DestroyTime to expire_at_secchrislu1-1/+1
For TTL volume converted into EC volume, this change may leave the volumes staying.
2024-10-22adjust help messagechrislu1-1/+1
2024-09-29fix help messagechrislu1-1/+1
2024-09-29adjust resource heavy for volume.fix.replicationchrislu2-2/+2
2024-09-29skip resource heavy commands from running on master nodeschrislu3-6/+6
2024-09-29refactorchrislu73-75/+81
2024-09-29refactorchrislu2-12/+14
2024-09-28add IsResourceHeavy() to command interfacechrislu73-2/+295
2024-09-26Fix/copy before delete replication (#6064)Max Denushev2-1/+109
* fix(shell): volume.fix.replication misplaced volumes unsatisfying replication factor * fix(shell): simplify replication check * fix(shell): add test for satisfyReplicaCurrentLocation
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.