Deadlock when importing content
Issue
On some circumstances, it is possible that an import task will hit a deadlock and go to a paused/error state:
Error: PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 2151861 waits for ShareLock on transaction 12856382; blocked by process 2151215.
Process 2151215 waits for ShareLock on transaction 12856380; blocked by process 2151861.
HINT: See server log for query details.
CONTEXT: while inserting index tuple (1,1) in relation "katello_erratum_bugzillas"
Environment
Satellite 6.12 disconnected
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.