seaweedfs/weed/topology
Chris Lu 9d013ea9b8
Admin UI: include ec shard sizes into volume server info (#7071)
* show ec shards on dashboard, show max in its own column

* master collect shard size info

* master send shard size via VolumeList

* change to more efficient shard sizes slice

* include ec shard sizes into volume server info

* Eliminated Redundant gRPC Calls

* much more efficient

* Efficient Counting: bits.OnesCount32() uses CPU-optimized instructions to count set bits in O(1)

* avoid extra volume list call

* simplify

* preserve existing shard sizes

* avoid hard coded value

* Update weed/storage/erasure_coding/ec_volume_info.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update weed/admin/dash/volume_management.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update ec_volume_info.go

* address comments

* avoid duplicated functions

* Update weed/admin/dash/volume_management.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* simplify

* refactoring

* fix compilation

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-02 02:16:49 -07:00
..
allocate_volume.go add version to volume proto 2025-06-16 22:05:06 -07:00
cluster_commands.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
collection.go add http endpoint to get the size of a collection (#5910) 2024-08-19 07:44:45 -07:00
configuration.go skip deltaBeat if dn is zero (#3630) 2022-09-11 22:31:53 -07:00
data_center.go "golang.org/x/exp/slices" => "slices" and go fmt 2024-12-19 19:25:06 -08:00
data_node_ec.go optimize memory usage for large number of volumes 2024-10-10 10:00:30 -07:00
data_node.go optimize memory usage for large number of volumes 2024-10-10 10:00:30 -07:00
disk_ec.go optimize memory usage for large number of volumes 2024-10-10 10:00:30 -07:00
disk.go Admin: misc improvements on admin server and workers. EC now works. (#7055) 2025-07-30 12:38:03 -07:00
node.go optimize memory usage for large number of volumes 2024-10-10 10:00:30 -07:00
rack.go "golang.org/x/exp/slices" => "slices" and go fmt 2024-12-19 19:25:06 -08:00
store_replicate.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
topology_ec.go Admin UI: include ec shard sizes into volume server info (#7071) 2025-08-02 02:16:49 -07:00
topology_event_handling.go [shell] feat:stop vacuum immediately once volume.vacuum.disable was executed (#6375) 2024-12-18 11:56:40 -08:00
topology_info.go "golang.org/x/exp/slices" => "slices" and go fmt 2024-12-19 19:25:06 -08:00
topology_test.go refactoring 2025-06-16 22:25:22 -07:00
topology_vacuum.go [shell] feat:stop vacuum immediately once volume.vacuum.disable was executed (#6375) 2024-12-18 11:56:40 -08:00
topology.go Fix implementation of master_pb.CollectionList RPC call (#6715) 2025-04-16 14:28:58 -07:00
volume_growth_test.go refactoring 2025-06-16 22:25:22 -07:00
volume_growth.go follow grow volume option version 2025-06-19 13:54:54 -07:00
volume_layout_test.go docs(topology): readability improvements (#3688) 2022-09-15 02:03:10 -07:00
volume_layout.go refactoring 2025-06-16 22:25:22 -07:00
volume_location_list.go fix panic 5435 (#5436) 2024-03-28 16:17:59 -07:00