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

Karl Wright commented on CONNECTORS-551:
----------------------------------------

I tried this with a JDBC connection and was able to reproduce the problem.  But 
it is not consistent; the first stop/start it did everything fine, but the 
second it deleted all documents from the job and ended the job.

{code}
Start Time      Activity        Identifier      Result Code     Bytes   Time    
Result Description
10-09-2012 09:57:09.291         job end         1349790490754(dbcrawl)
                0       1       
10-09-2012 09:57:00.359         document deletion (null)        http://2
        OK      0       1       
10-09-2012 09:57:00.357         document deletion (null)        http://1
        OK      0       1       
10-09-2012 09:54:39.602         document ingest (null)  http://2
        OK      5       1       
10-09-2012 09:54:39.573         document ingest (null)  http://1
        OK      5       1       
10-09-2012 09:54:39.482         external query  SELECT id AS lcf__id, 'http://' 
|| id AS lcf__url, datastuff ...
AS lcf__data FROM crawltable WHERE id IN (?,?) ; arguments =...
('1','2')
        OK      0       4       
10-09-2012 09:54:29.193         external query  SELECT id AS lcf__id FROM 
crawltable; arguments = ()
        OK      0       171     
10-09-2012 09:53:44.944         document ingest (null)  http://2
        OK      5       1       
10-09-2012 09:53:44.874         document ingest (null)  http://1
        OK      5       1       
10-09-2012 09:53:44.320         external query  SELECT id AS lcf__id, 'http://' 
|| id AS lcf__url, datastuff ...
AS lcf__data FROM crawltable WHERE id IN (?,?) ; arguments =...
('1','2')
        OK      0       530     
10-09-2012 09:53:43.105         external query  SELECT id AS lcf__id FROM 
crawltable; arguments = ()
        OK      0       289     
10-09-2012 09:53:43.096         job start       1349790490754(dbcrawl)
                0       1
{code}

                
> Documents from Wiki and JDBC connectors are removed whenever the agents 
> process is started
> ------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-551
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-551
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework crawler agent, JDBC connector, Wiki connector
>    Affects Versions: ManifoldCF 1.0
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 1.1
>
>
> "Indeed, when using the file system connector, Manifold works as it should. 
> The agent can be stopped and restarted and the previously processed documents 
> are retained. When I tried the JDBC (pointed to a MySQL DB) and Wiki 
> connectors, however, I received the same results as yesterday - all documents 
> are deleted as soon as the agent restarts (not on shutdown but when running 
> the agent again after it has been stopped). 
> For the JDBC connector I could imagine that this may somehow be related to 
> flawed seeding or version queries (although I believe them to be ok), but in 
> the case of Wiki there are hardly any settings I believe I could have gotten 
> wrong."

--
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