|
|
|
@@ -39,7 +39,7 @@ type ECReconstructStrategy struct { |
|
|
|
Detail jcstypes.ObjectDetail |
|
|
|
Redundancy jcstypes.ECRedundancy |
|
|
|
Blocks []jcstypes.ObjectBlock |
|
|
|
UserSpaces []jcstypes.UserSpaceDetail |
|
|
|
UserSpaces []jcstypes.UserSpaceDetail // 与Blocks一一对应,表示每个Block应该从哪个UserSpace下载 |
|
|
|
} |
|
|
|
|
|
|
|
func (s *ECReconstructStrategy) GetDetail() jcstypes.ObjectDetail { |
|
|
|
@@ -50,7 +50,7 @@ type LRCReconstructStrategy struct { |
|
|
|
Detail jcstypes.ObjectDetail |
|
|
|
Redundancy jcstypes.LRCRedundancy |
|
|
|
Blocks []jcstypes.ObjectBlock |
|
|
|
Spaces []jcstypes.UserSpaceDetail |
|
|
|
Spaces []jcstypes.UserSpaceDetail // 与Blocks一一对应,表示每个Block应该从哪个UserSpace下载 |
|
|
|
} |
|
|
|
|
|
|
|
func (s *LRCReconstructStrategy) GetDetail() jcstypes.ObjectDetail { |
|
|
|
|