Uploaded image for project: 'Opencast'
  1. MH-9657

FileUploadServiceCleaner deletes "outdated" job which is currently in use

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0
    • Fix versions: 1.4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Upload a (big) video just before the FileUploadServiceCleaner starts to clean (every hour I guess)
       
       Actual Results:
      The FileUploadServiceCleaner deletes jobs that are currently in use and the upload fails (I already uploaded 31/50 100 MB-chunks...).

       2013-05-17 15:43:11 INFO (FileUploadServiceImpl:131) - Creating new upload job: FileUploadJob(id=042f64fd-450e-40d3-b4d3-1ec049ba2b6f, filename=dozent.mpg)
      2013-05-17 15:46:00 INFO (FileUploadServiceCleaner$Runner:108) - Start file upload service cleaner
      2013-05-17 15:46:01 INFO (FileUploadServiceImpl:208) - Deleted outdated job 042f64fd-450e-40d3-b4d3-1ec049ba2b6f
      2013-05-17 15:46:01 INFO (FileUploadServiceCleaner$Runner:114) - Finished file upload service cleaner
      2013-05-17 15:46:01 WARN (FileUploadRestService:214) - Upload job not found: 042f64fd-450e-40d3-b4d3-1ec049ba2b6f
       
       Expected Results:
       The FileUploadServiceCleaner does not delete jobs which are currently in use
       
      Show
      Steps to reproduce: 1. Upload a (big) video just before the FileUploadServiceCleaner starts to clean (every hour I guess)    Actual Results: The FileUploadServiceCleaner deletes jobs that are currently in use and the upload fails (I already uploaded 31/50 100 MB-chunks...).  2013-05-17 15:43:11 INFO (FileUploadServiceImpl:131) - Creating new upload job: FileUploadJob(id=042f64fd-450e-40d3-b4d3-1ec049ba2b6f, filename=dozent.mpg) 2013-05-17 15:46:00 INFO (FileUploadServiceCleaner$Runner:108) - Start file upload service cleaner 2013-05-17 15:46:01 INFO (FileUploadServiceImpl:208) - Deleted outdated job 042f64fd-450e-40d3-b4d3-1ec049ba2b6f 2013-05-17 15:46:01 INFO (FileUploadServiceCleaner$Runner:114) - Finished file upload service cleaner 2013-05-17 15:46:01 WARN (FileUploadRestService:214) - Upload job not found: 042f64fd-450e-40d3-b4d3-1ec049ba2b6f    Expected Results:  The FileUploadServiceCleaner does not delete jobs which are currently in use  

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              bwulff Benjamin Wulff
              Reporter:
              denmeyer Denis Meyer
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases