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

Don't swallow exception when transaction timeout in GC

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF60, 2021.19
    • Component/s: BlobManager

      Description

      The GC binaries task is a very long process that usually timeout on large repositories.

      The task is run inside a try/finally to start the transaction before the execution and commitOrRollback the transaction after the task, which is an issue when the transaction timeout because the potential underlying error could be swallowed by the transaction timeout exception.

      We should improve that by catching the potential underlying exception and adding the transaction timeout as information to it.

      Study the possibility to use the TransactionHelper and do the improvement over there.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: