DPM AlreadyExistsException when using EXCL even if file does not exist
|Assigned To:||Schwarz Lionel||% Done:|
When writing a file to DPM 1.8.8:
NoSuccess: AlreadyExists: File already exists: gsiftp-dpm://...
#1 Updated by Schwarz Lionel over 6 years ago
- Subject changed from DPM AlreadyExistsException to DPM AlreadyExistsException when using EXCL even if file does not exist
It seems that from 1.8.8, DPM writes an empty file on the GridFTP server at the srmPrepareToPut. This leads to AlreadyExists in case, the "exclusive" flag was used because the adaptor first checks that the file does not exist already.
Fix: For DPM, the exclusive flag os not supported anymore.