Ticket #136 (closed bugs: fixed)

Opened 6 months ago

Last modified 6 months ago

gsiftp race condiction fixed : create-remove-create could accidentially destroy file entry.

Reported by: patrick Assigned to: behrmann
Priority: major Milestone: 1.8.0-15p5
Component: ftp Version: 1.8.0
Keywords: race condition, create-remove-create Cc:
Sub Version:

Description (Last modified by patrick)

A race condition in the gsiftp door can possibly result in file loss. This happens if a file is created, removed and created again. The remove is done by file name instead of pnfsid. IF the remove is delayed and done after the second create, the newly created file is removed. Details by Gerd : If an FTP upload fails, the FTP by default removes the incomplete file. If however another upload has already removed the first copy and begun a second uploading attempt, then the door from the first transfer would remove the new file. This has now been fixed by using the PNFS ID rather than the path to clean up after upload failures.

Change History

05/29/08 08:05:32 changed by patrick

  • status changed from new to closed.
  • resolution set to fixed.

06/03/08 10:09:38 changed by patrick

  • description changed.