Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18456 TCU: Trash Can/Undelete for Lustre
  3. LU-19258

TCU: Add support for file deletion via rename()

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      TCU needs to handle the case where a file is deleted via rename() like:

      write new ".FILENAME.tmp"; rename ".FILENAME.tmp" over old "FILENAME"

      This is a common pattern for tools like editors to avoid corrupting FILENAME when a new version is written, in case the process crashes in the middle of writing out the new data.  This should move the old FILENAME into Trash, probably with a version if this happens repeatedly.

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: