sections.add(Pair.create(dis.readLong(), dis.readLong()));
// this controls the way indexes are rebuilt when streaming in.
OperationType type = OperationType.RESTORE_REPLICA_COUNT;
type = OperationType.valueOf(dis.readUTF());
long estimatedKeys = dis.readLong();
CompressionInfo info = null;
if (version > MessagingService.VERSION_11)
info = CompressionInfo.serializer.deserialize(dis, version);
return new PendingFile(null, desc, component, sections, type, estimatedKeys, info);
}