You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/04/04 01:09:15 UTC

[jira] [Comment Edited] (CONNECTORS-590) ManifoldCF sometimes throws an unexpected state exception under MySQL

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

Karl Wright edited comment on CONNECTORS-590 at 4/3/13 11:08 PM:
-----------------------------------------------------------------

The hint is that this seems to be related to output connector errors in some way.  So there may be a pathway through WorkerThread that is incorrect; the document's state is getting changed twice.  I haven't been able to find any such pathway yet, but this is a far more reassuring explanation than a database consistency error.

However the person doing the hinting basically has not responded with any evidence to defend their guess, other than the fact that they saw the error a lot (8-10 times per job run!!) when there were a lot of output connection handles available, and not much when they constrained the number to 2.  Since I have *never* seen this error myself, I find this hard to believe.  Perhaps it was a different error they were confusing, e.g. "repeated service interruptions" or some such?

So all I really have faith in at this point is that the problem happens on BOTH MySQL and PostgreSQL...

                
      was (Author: kwright@metacarta.com):
    The hint is that this seems to be related to output connector errors in some way.  So there may be a pathway through WorkerThread that is incorrect; the document's state is getting changed twice.  I haven't been able to find any such pathway yet, but this is a far more reassuring explanation than a database consistency error.

                  
> ManifoldCF sometimes throws an unexpected state exception under MySQL
> ---------------------------------------------------------------------
>
>                 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
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.2
>
>
> 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