|
@@ -82,10 +82,8 @@ class StripedWriter {
|
|
|
assert targetStorageIds != null;
|
|
|
|
|
|
writers = new StripedBlockWriter[targets.length];
|
|
|
+
|
|
|
targetIndices = new short[targets.length];
|
|
|
- Preconditions.checkArgument(
|
|
|
- targetIndices.length <= dataBlkNum + parityBlkNum - reconstructor.getNumLiveBlocks(),
|
|
|
- "Reconstruction work gets too much targets.");
|
|
|
Preconditions.checkArgument(targetIndices.length <= parityBlkNum,
|
|
|
"Too much missed striped blocks.");
|
|
|
initTargetIndices();
|