@ -130,8 +130,8 @@ public class IODispatcher extends Thread {
}else{
log.info("appended merge job of files "+f1.getName()+", "+f2.getName()+" to "+newFile.getName());
}
}catch(final Exception e){// because mergeQueue size is 1, IllegalStateException could happen frequently (serial execution ensured in run() )
log.warn("Could not add merge job to queue: "+e.getMessage(), e);
}catch(finalIllegalStateException e){// because mergeQueue size is 1, IllegalStateException could happen frequently (serial execution ensured in run() )
log.warn("Could not add merge job to queue: "+e.getMessage());
}finally{
this.controlQueue.release();
}
@ -196,8 +196,6 @@ public class IODispatcher extends Thread {
break;
}
log.severe("main loop in bad state, dumpQueue.size() = "+this.dumpQueue.size()+", mergeQueue.size() = "+this.mergeQueue.size()+", controlQueue.availablePermits() = "+this.controlQueue.availablePermits()+", MemoryControl.shortStatus() = "+MemoryControl.shortStatus());
assertfalse:"this process statt should not be reached";// this should never happen