diff options
Diffstat (limited to 'weed/admin/topology/task_management.go')
| -rw-r--r-- | weed/admin/topology/task_management.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/weed/admin/topology/task_management.go b/weed/admin/topology/task_management.go index b240adcd8..ada60248b 100644 --- a/weed/admin/topology/task_management.go +++ b/weed/admin/topology/task_management.go @@ -233,6 +233,8 @@ const ( type TaskSourceSpec struct { ServerID string DiskID uint32 + DataCenter string // Data center of the source server + Rack string // Rack of the source server CleanupType SourceCleanupType // For EC: volume replica vs existing shards StorageImpact *StorageSlotChange // Optional: manual override EstimatedSize *int64 // Optional: manual override @@ -255,10 +257,3 @@ type TaskSpec struct { Sources []TaskSourceSpec // Can be single or multiple Destinations []TaskDestinationSpec // Can be single or multiple } - -// TaskSourceLocation represents a source location for task creation (DEPRECATED: use TaskSourceSpec) -type TaskSourceLocation struct { - ServerID string - DiskID uint32 - CleanupType SourceCleanupType // What type of cleanup is needed -} |
