Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23254

DFS - tmp files left if the file size is not identical to the original one

    Details

      Description

      EZP-21825 fix some of the temporary files left in the file system if there's a failure in the copy/rename process between the local and the NFS file systems.

      But, if after the copy the file size of the original and the copied file are different, the tempo files will be left undeleted.

      Steps to Reproduce

      This is a hard issue to reproduce since it will only happen if there are any NFS errors, but it's possible to achieve the same reproduce.
      Edit

      + if( $loopCount != $this->maxCopyTries )
      +{
      +   $dfsFileSize += 10;
      +   $localFileSize -= 10;  
      +}
      $localFileSize = filesize( $filePath );
      if ( $dfsFileSize == $localFileSize )
      {
      	return $filePath;
      }
      

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          2m 4s 1 eduardo.fernandes@ez.no 11/Aug/14 3:10 PM
          Confirmed Confirmed InputQ InputQ
          19h 43m 1 yannick.roger@ez.no 12/Aug/14 10:53 AM
          Development Development Development Review Development Review
          6h 38m 1 yannick.roger@ez.no 12/Aug/14 5:32 PM
          Development Review Development Review Development Review done Development Review done
          1d 21h 46m 1 yannick.roger@ez.no 14/Aug/14 3:19 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          8s 1 yannick.roger@ez.no 14/Aug/14 3:19 PM
          Closed Closed Reopened Reopened
          253d 23h 17m 2 eduardo.fernandes@ez.no 30/Apr/15 4:53 PM
          Reopened Reopened InputQ InputQ
          1m 8s 2 yannick.roger@ez.no 30/Apr/15 4:53 PM
          InputQ InputQ Development Development
          9s 3 yannick.roger@ez.no 30/Apr/15 4:53 PM
          Development Development Documentation Review done Documentation Review done
          4m 47s 2 yannick.roger@ez.no 30/Apr/15 4:57 PM
          Documentation Review done Documentation Review done QA QA
          3d 19h 2m 3 miguel.jacinto@ez.no 30/Apr/15 5:59 PM
          QA QA Closed Closed
          5d 7h 41m 3 miguel.jacinto@ez.no 04/May/15 5:26 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Eduardo Fernandes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: