•  
      request #7355 Archive deleted item plugin should check if the FRS / docman item exists in the FS
    Infos
    #7355
    Ahmed HOSNI (hosniah)
    2014-09-12 15:18
    2014-08-19 09:05
    7360
    Details
    Archive deleted item plugin should check if the FRS / docman item exists in the FS
    Before processing the purge perl script that moves deleted Frs/Docman items to the staging area, the "Archive deleted items" should check if the source item (the deleted file) exists in FS .
    This has occurred when we deployed a FS backup from our Live Tuleap server to our QA one which leads to inconsistency between what is flagged to be purged at DB side and what physically exists in FS.

    FRS / Docman purge logic is logging relevant traces, no need to deal with:

    2014-08-14T15:00:02+02:00 [warn] File /var/lib/codendi/ftp/codendi/codex-cc/p3499_r14003/README.txt(23680) doesn't exist. It cannot be moved to staging area. Marked as purged
    2014-08-14T15:00:02+02:00 [error] Error while moving file /var/lib/codendi/ftp/codendi/codex-cc/p3499_r14003/README.txt(23680) to staging area
    2014-08-14T15:00:02+02:00 [warn] Directory /var/lib/codendi/ftp/codendi/codex-cc/p3499_r14003 already deleted
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Ahmed HOSNI (hosniah)
    Closed
    2014-09-12
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Ahmed HOSNI (hosniah)2014-08-19 09:07
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes