manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1703681 - in /manifoldcf/trunk: CHANGES.txt framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
Date Thu, 17 Sep 2015 20:31:45 GMT
Author: kwright
Date: Thu Sep 17 20:31:44 2015
New Revision: 1703681

URL: http://svn.apache.org/viewvc?rev=1703681&view=rev
Log:
Fix for CONNECTORS-1242.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1703681&r1=1703680&r2=1703681&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Thu Sep 17 20:31:44 2015
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.3-dev =====================
 
+CONNECTORS-1242: Fix document reprioritization on job resume.
+(Niall Colreavy, Karl Wright)
+
 CONNECTORS-1241: Documentum connector not handling subtypes
 properly.
 (Bipul Podder)

Modified: manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java?rev=1703681&r1=1703680&r2=1703681&view=diff
==============================================================================
--- manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
(original)
+++ manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
Thu Sep 17 20:31:44 2015
@@ -8191,6 +8191,9 @@ public class JobManager implements IJobM
         IJobDescription jobDesc = jobs.load(jobID,true);
         modifiedJobs.add(jobDesc);
 
+        // Note that all the documents that are alive need priorities
+        jobQueue.prioritizeQueuedDocuments(jobID);
+        // Now, resume the job
         jobs.finishResumeJob(jobID,timestamp);
             
         Logging.jobs.info("Resumed job "+jobID);



Mime
View raw message