lh.setLast(readCounter - 1);
boolean hasMore = true;
while(hasMore){
hasMore = false;
LOG.debug("Recovering: " + lh.getLast());
LedgerSequence ls = self.readEntries(lh, lh.getLast(), lh.getLast());
//if(ls == null) throw BKException.create(Code.ReadException);
LOG.debug("Received entry for: " + lh.getLast());
if(ls.nextElement().getEntry() != null){
if(notLegitimate) notLegitimate = false;
lh.incLast();
hasMore = true;
}
}