Index Status: Peer recovery does not compute the index size correctly to report the full size, closes #695.

This commit is contained in:
kimchy 2011-02-17 01:43:56 +02:00
parent fb90392040
commit 09d650fae7
1 changed files with 1 additions and 1 deletions

View File

@ -134,8 +134,8 @@ public class RecoverySource extends AbstractComponent {
}
response.phase1FileNames.add(name);
response.phase1FileSizes.add(md.length());
totalSize += md.length();
}
totalSize += md.length();
}
response.phase1TotalSize = totalSize;
response.phase1ExistingTotalSize = existingTotalSize;