Chalitha Perera created CONNECTORS-1367:
-------------------------------------------

             Summary: Alfresco Connector deadlock with postgresql
                 Key: CONNECTORS-1367
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1367
             Project: ManifoldCF
          Issue Type: Bug
          Components: Alfresco webscript connector
    Affects Versions: ManifoldCF 2.5
            Reporter: Chalitha Perera


Alfresco connector gets stuck when processing documents around 35,000 and 
postgres manifold database in idle state and after days gets deadlock message 
"
2016-12-21 10:54:17.946 UTC >ERROR:  deadlock detected
< 2016-12-21 10:54:17.946 UTC >DETAIL:  Process 28072 waits for ShareLock on 
transaction 432231; blocked by process 28038.
    Process 28038 waits for ShareLock on transaction 432227; blocked by process 
28072.
    Process 28072: UPDATE jobqueue SET 
failtime=NULL,checktime=$1,failcount=NULL,checkaction=$2 WHERE jobid=$3 AND  
(status=$4 OR status=$5)
    Process 28038: SELECT needpriority FROM jobqueue WHERE id=$1 FOR UPDATE
< 2016-12-21 10:54:17.946 UTC >HINT:  See server log for query details."

On separate note, ran ant load-pg and it was completed successfully.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to