Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13720

"lfs mirror delete" should resync file if needed

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      If "lfs mirror delete" is called on a file to delete a specific mirror (eg. with "-p <pool>" or "--comp-id <id>", but that is the only non-stale mirror of the file, it makes sense from a usability point of view to automatically resync the stale mirror(s) and then remove the mirror as requested by the user, rather than returning an error to the user.

      Otherwise, the user will first have to understand that the stale mirrors are preventing their request from completing, then manually resync the mirror with "lfs mirror resync" before calling "lfs mirror delete" again.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: