seaweedfs/weed/storage
Lisandro Pin f2db746690
Introduce logic to resolve volume replica placement within EC rebalancing. (#6254)
* Rename `command_ec_encode_test.go` to `command_ec_common_test.go`.

All tests defined in this file are now for `command_ec_common.go`.

* Minor code cleanups.

- Fix broken `ec.balance` test.
- Rework integer ceiling division to not use floats, which can introduce precision errors.

* Introduce logic to resolve volume replica placement within EC rebalancing.

This will be used to make rebalancing logic topology-aware.

* Give shell.EcNode.dc a dedicated DataCenterId type.
2024-11-18 18:05:06 -08:00
..
backend fix: always close volume file (#4530) (#5459) 2024-04-02 08:31:40 -07:00
erasure_coding rename proto field from DestroyTime to expire_at_sec 2024-10-24 21:35:11 -07:00
idx ADHOC: Volume fsck use a time cutoff param (#3626) 2022-09-10 15:29:17 -07:00
needle Fix/parse upload filename (#6241) 2024-11-15 11:25:18 -08:00
needle_map Revert "Fix weed fix" 2024-01-25 08:09:36 -08:00
super_block Introduce logic to resolve volume replica placement within EC rebalancing. (#6254) 2024-11-18 18:05:06 -08:00
types [volume.chek.disk] sync of deletions the fix (#3923) 2022-10-30 20:32:46 -07:00
volume_info backward compatible vif loading 2024-10-28 19:44:30 -07:00
disk_location_ec.go EC volume supports expiration and displays expiration message when executing volume.list (#5895) 2024-08-16 00:20:00 -07:00
disk_location_test.go Detect underflow when calculating unused space (#5758) 2024-07-10 00:30:28 -07:00
disk_location.go Detect underflow when calculating unused space (#5758) 2024-07-10 00:30:28 -07:00
idx_binary_search_test.go weed/storage: fix dropped test errors 2023-12-06 12:05:22 -08:00
needle_map_leveldb.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
needle_map_memory.go fix: recreate index include deleted files (#5579) 2024-05-12 11:31:34 -07:00
needle_map_metric_test.go fix tests 2023-03-08 01:48:28 -08:00
needle_map_metric.go optimiz commitig compact (#3388) 2022-08-23 23:53:35 -07:00
needle_map_sorted_file.go Fix sorted needle file's write mode for (*SortedFileNeedleMap).Delete() (#5633) 2024-06-02 14:12:25 -07:00
needle_map.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
store_ec_delete.go Revert "Revert "Merge branch 'master' into sub"" 2023-09-18 18:47:34 -07:00
store_ec.go rename proto field from DestroyTime to expire_at_sec 2024-10-24 21:35:11 -07:00
store_vacuum.go Fix DataBackend nil pointer (#4641) 2023-07-04 23:22:10 -07:00
store.go do not delete collection metrics when unmount a volume 2024-10-22 00:44:52 -07:00
volume_backup_test.go refactoring 2019-04-17 22:04:49 -07:00
volume_backup.go fix volume.move io.EOF (#5960) 2024-09-02 06:17:41 -07:00
volume_checking.go Revert "fix: volume data integrity check (#6118)" 2024-10-17 18:52:30 -07:00
volume_info_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_info.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_loading.go [volume] remove truncate idx file if size not healthy (#6043) 2024-09-19 01:04:08 -07:00
volume_read_all.go Include name/mime in ReadAllNeedles (#4005) 2022-11-23 15:59:38 -08:00
volume_read_test.go fix test 2023-03-14 22:05:16 -07:00
volume_read.go added backward compatible CRC check and extra explanatory comments (#6233) 2024-11-12 13:56:14 -08:00
volume_super_block.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_tier.go rename proto field from DestroyTime to expire_at_sec 2024-10-24 21:35:11 -07:00
volume_vacuum_test.go Lazy loading (#3958) 2022-11-14 00:19:27 -08:00
volume_vacuum.go prevent compacting on the same volume 2024-08-18 12:08:43 -07:00
volume_write_test.go avoid data race read volume.IsEmpty (#4574) 2023-06-14 14:39:58 -07:00
volume_write.go fix(volume): to avoid duplicate write a same needle (#6138) 2024-10-18 01:20:50 -07:00
volume.go persist readonly state to volume info (#5977) 2024-09-05 07:58:24 -07:00