Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2053

Remove orphaned transfers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.1.4
    • Fix Version/s: NoFixVersionApplicable
    • Component/s: Framework

      Description

      Issue

      When resuming or pausing a transfer, this pseudo-code is used:

      engine = manager.engines.get(engine_uid)
      if not engine:
          return
      engine.resume_transfer(transfer_type, transfer_id)
      

      But if, for one reason or another, the engine associated does not exist anymore, the transfer is orphaned.

      Fix

      • Remove the transfer from the database.
      • If the transfer is a download, then we should also remove the eventual partially downloaded file.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 30 minutes
                2d 30m