* ActionDirectory.java

also include 'Fi ' lines -- for recoveries of recoveries
This commit is contained in:
gojomo
2009-08-28 17:08:59 +00:00
parent ad937c58e5
commit f0421e1f13
@@ -77,7 +77,7 @@ public class ActionDirectory implements ApplicationContextAware, Lifecycle, Runn
ScheduledExecutorService executor;
/** how long after crawl start to first scan action directory */
protected int initialDelay = 30;
protected int initialDelay = 10;
public int getInitialDelay() {
return initialDelay;
}
@@ -209,7 +209,9 @@ public class ActionDirectory implements ApplicationContextAware, Lifecycle, Runn
// apply recovery-log
boolean alsoScope = corename.endsWith(".s.recover");
try {
getFrontier().importRecoverFormat(actionFile, alsoScope, true, false, "Fs ");
// consider-included all successes and explicit-includes...
getFrontier().importRecoverFormat(actionFile, alsoScope, true, false, "F[si] ");
// then retry all adds...
getFrontier().importRecoverFormat(actionFile, alsoScope, false, false, "F\\+ ");
} catch (IOException ioe) {
LOGGER.log(Level.SEVERE,"problem with action file: "+actionFile,ioe);