incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1196657 - /incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Date Wed, 02 Nov 2011 16:01:02 GMT
Author: kwright
Date: Wed Nov  2 16:01:02 2011
New Revision: 1196657

URL: http://svn.apache.org/viewvc?rev=1196657&view=rev
Log:
Derby is apparently really sensitive about reading records in index order; the sort criteria
has to match the index exactly.  Part of CONNECTORS-284.

Modified:
    incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java

Modified: incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java?rev=1196657&r1=1196656&r2=1196657&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
(original)
+++ incubator/lcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Wed Nov  2 16:01:02 2011
@@ -207,7 +207,8 @@ public class JobQueue extends org.apache
       IndexDescription failTimeIndex = new IndexDescription(false,new String[]{failTimeField,jobIDField});
       IndexDescription actionTimeStatusIndex = new IndexDescription(false,new String[]{statusField,checkActionField,checkTimeField});
       IndexDescription prioritysetStatusIndex = new IndexDescription(false,new String[]{statusField,prioritySetField});
-      IndexDescription docpriorityIndex = new IndexDescription(false,new String[]{docPriorityField,statusField,checkActionField,checkTimeField});
+      // No evidence that the extra fields help at all, for any database...
+      IndexDescription docpriorityIndex = new IndexDescription(false,new String[]{docPriorityField/*,statusField,checkActionField,checkTimeField*/});
 
       // Get rid of unused indexes
       Map indexes = getTableIndexes(null,null);



Mime
View raw message