aboutsummaryrefslogtreecommitdiff
path: root/weed/topology
AgeCommit message (Collapse)AuthorFilesLines
2025-06-19follow grow volume option versionchrislu1-1/+1
2025-06-16refactoringchrislu4-9/+10
2025-06-16add version to volume protochrislu2-2/+5
2025-05-28Add context with request (#6824)Aleksey Kosov1-2/+3
2025-04-16Fix implementation of `master_pb.CollectionList` RPC call (#6715)Lisandro Pin2-5/+87
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu3-3/+3
2024-12-18[shell] feat:stop vacuum immediately once volume.vacuum.disable was executed ↵dsd2-6/+20
(#6375) stop vacuum immediately once volume.vacuum.disable was executed Co-authored-by: dsd <dsd2019@foxmail.com>
2024-11-26[master] avoid timeout when assigning for main request with filter by DC or ↵Konstantin Lebedev2-4/+4
rack (#6291) * avoid timeout when assigning for main request with filter by DC or rack https://github.com/seaweedfs/seaweedfs/issues/6290 * use constant NoWritableVolumes
2024-11-25use ShouldGrowVolumesByDcAndRack (#6280)Konstantin Lebedev2-19/+25
2024-11-23wait a bit before getting the next volume id if the leader is recently electedchrislu2-0/+7
2024-11-21[master] avoid crowded more writable for auto grow (#6214)Konstantin Lebedev1-2/+5
avoid crowded more writable https://github.com/seaweedfs/seaweedfs/issues/6121
2024-10-24correcting free volume count, factor it during ec encoding to ensure enough ↵chrislu1-2/+2
disk space available fix https://github.com/seaweedfs/seaweedfs/issues/6163
2024-10-24rename proto field from DestroyTime to expire_at_secchrislu1-3/+3
For TTL volume converted into EC volume, this change may leave the volumes staying.
2024-10-14feat: add in-flight metric for s3/file/volume-server (#6120)steve.wei1-0/+10
2024-10-10optimize memory usage for large number of volumeschrislu7-49/+50
1. unwrap the map to avoid extra map object creation 2. fix ec shard counting in UpdateEcShards
2024-09-11change math/rand => math/rand/v2 in volume_layout.go where is a perfo… (#6006)dsd1-3/+4
2024-09-09[master] process grow request with must grow (#5999)Konstantin Lebedev1-10/+8
process grow request with must grow
2024-09-07better logging for volume growthchrislu2-2/+2
2024-09-07refactorchrislu1-0/+6
2024-09-04[master] refactor func ShouldGrowVolumes (#5884)Konstantin Lebedev4-43/+74
2024-08-30unnecessary skippingchrislu1-6/+1
2024-08-30parameter namechrislu1-2/+2
2024-08-30fix typochrislu1-1/+1
2024-08-29math/rand => math/rand/v2chrislu5-9/+9
2024-08-27ensure none zero lastGrowCountchrislu1-1/+1
2024-08-21add parallel vacuumingchrislu2-9/+69
2024-08-20add warning for not enough copies when skipping vacuuming volumeschrislu1-1/+5
fix https://github.com/seaweedfs/seaweedfs/issues/5906
2024-08-19add http endpoint to get the size of a collection (#5910)Riccardo Bertossa1-0/+22
2024-08-16EC volume supports expiration and displays expiration message when executing ↵augustazz1-3/+4
volume.list (#5895) * ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
2024-08-15[master] fix master panic (#5893)wusong2-8/+19
2024-07-30[master] do sync grow request only if absolutely necessary (#5821)Konstantin Lebedev2-27/+13
* do sync grow request only if absolutely necessary https://github.com/seaweedfs/seaweedfs/pull/5819 * remove check VolumeGrowStrategy Threshold on PickForWrite * fix fmt.Errorf
2024-07-26fix allocate reduplicated volumeId to different volume (#5811)wyang1-2/+45
* fix allocate reduplicated volumeId to different volume * only check barrier when read --------- Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-07-21avoid nilchrislu1-0/+1
2024-07-16Added tls for http clients (#5766)vadimartynov1-2/+8
* 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-16[master] Do Automatic Volume Grow in background (#5781)Konstantin Lebedev3-10/+37
* Do Automatic Volume Grow in backgound * pass lastGrowCount to master * fix build * fix count to uint64
2024-07-15[master] refactor HasGrowRequest to atomic bool (#5782)Konstantin Lebedev1-4/+4
refactor HasGrowRequest to atomit bool
2024-07-12metrics stats of volume layout depends on the data center (#5775)Konstantin Lebedev1-3/+3
stats volume layout depends on the data center
2024-07-12fix: avoid timeout if datacenter does not exist in topology (#5772)Konstantin Lebedev1-0/+16
* fix: avoid timeout if datacenter does not exist in topology * fix: error msg * fix: rm dublicate check * fix: compare * revert minor change
2024-07-12Different disk labels should not use the same DiskUsages instance while ↵小羽1-1/+1
master received volume heatbeat (#5770)
2024-06-20bugfix: unregister ec shards when volume server disconnected (#5697)Numblgw1-0/+5
bugfix unregister ec shards when volume server disconnected Co-authored-by: liguowei <liguowei@xinye.com>
2024-05-29pass along volume server grpc portchrislu2-0/+2
fix https://github.com/seaweedfs/seaweedfs/issues/5617
2024-05-20go fmtchrislu2-10/+11
2024-04-18avoid repeated calls to heavy-weighted viperchrislu3-19/+26
2024-04-18improve perf a bitchrislu1-1/+2
2024-04-11[volume] Reduce the number of buffers for uploading one chunk (#5458)Konstantin Lebedev1-0/+4
2024-04-02fix panic at isAllWritable (#5457)Konstantin Lebedev1-4/+9
fix panic https://github.com/seaweedfs/seaweedfs/issues/5456
2024-03-29[master] grow volumes if no writable volumes in current dataCenter (#5434)Konstantin Lebedev2-4/+15
* grow volumes if no writable volumes in current dataCenter https://github.com/seaweedfs/seaweedfs/issues/3886 * fix tests with volume grow * automatic volume grow one volume * add ErrorChunkAssign metrics
2024-03-28fix panic 5435 (#5436)Konstantin Lebedev2-1/+4
2024-03-22[master] add test for PickForWrite add metrics for volume layout (#5413)Konstantin Lebedev2-8/+114
2024-01-25fix: clean metric MasterReplicaPlacementMismatch for unregister volume (#5239)Konstantin Lebedev1-0/+4