This commit is contained in:
Fangjin Yang 2012-12-15 00:50:28 -08:00
parent f9386c3623
commit db556102db
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class SegmentReplicantLookup
// Also account for queued segments // Also account for queued segments
for (DataSegment segment : serverHolder.getPeon().getSegmentsToLoad()) { for (DataSegment segment : serverHolder.getPeon().getSegmentsToLoad()) {
Integer numReplicants = segmentsInCluster.get(segment.getIdentifier(), server.getTier()); Integer numReplicants = loadingSegments.get(segment.getIdentifier(), server.getTier());
if (numReplicants == null) { if (numReplicants == null) {
numReplicants = 0; numReplicants = 0;
} }