Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12800

trash service delete/purge database conflicts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.8
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Core

      Description

      When trashing a big folder, there is no guard about purging the content while the bulk lifecycle listener is running. This may cause the following errors to appear

      We also detected some deadlocks in database when trying to delete great amounts of files from trash (ie: ERROR: se ha detectado un deadlock
      DETALLE: El proceso 17240 espera ShareLock en transacción 35625422; bloqueado por proceso 16960.
      El proceso 16960 espera ShareLock en transacción 35625421; bloqueado por proceso 17240.
      Proceso 17240: UPDATE "dublincore" SET "modified" = $1 WHERE "id" = $2
      Proceso 16960: DELETE FROM "hierarchy" WHERE "id" = $1
      ).
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: