[ 
https://issues.apache.org/jira/browse/CONNECTORS-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748559#comment-13748559
 ] 

Karl Wright edited comment on CONNECTORS-590 at 8/23/13 2:06 PM:
-----------------------------------------------------------------

Second failure is complicated only by the fact that at the time of failure 
there is a second thread (thread-0) working on the record.  This is likely 
because of the failure itself.  Otherwise, only one thread is involved in 
modifying the record in question and looking at it, so it would seem to be an 
open-and-shut case of database corruption.  Only potential ManifoldCF 
involvement would be if there was caching going on - which should not be 
happening, but must be confirmed.

                
      was (Author: [email protected]):
    Second failure is complicated only by the fact that at the time of failure 
there is a second thread (thread-0) working on the record.  This is likely 
because of the failure itself.  Otherwise, only one thread is involved in 
modifying the record in question and looking at it, so it would seem to be an 
open-and-shut case of database corruption.

                  
> ManifoldCF throws an unexpected state exception, very rarely
> ------------------------------------------------------------
>
>                 Key: CONNECTORS-590
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-590
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 1.0.1, ManifoldCF 1.1
>         Environment: MySQL 5.5.28, for Linux (x86_64), ManifoldCF 1.1-dev
> PostgreSQL 9(?)
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.4
>
>
> The following exception occurred under this setup:
> {code}
> 2012/12/21 10:09:37 ERROR (Worker thread '78') - Exception tossed: Unexpected 
> jobqueue status - record id 1356045273314, expecting active status, saw 0
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unexpected 
> jobqueue status - record id 1356045273314, expecting active status, saw 0
>         at 
> org.apache.manifoldcf.crawler.jobs.JobQueue.updateCompletedRecord(JobQueue.java:742)
>         at 
> org.apache.manifoldcf.crawler.jobs.JobManager.markDocumentCompletedMultiple(JobManager.java:2438)
>         at 
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:765)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to