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

remove update llog files after recovery abort

Details

    • 2
    • 9223372036854775807

    Description

      Once recovery is aborted, the existing update logs should be removed, because they are used for recovery only, and if it's corrupt, or inaccessible, if they are kept there after recovery abort, the next recovery will meet with the same issue again, besides, the log file size may become large, retrieving them in recovery may lead to recovery timeout.

      Besides this, in LOD device initialization, it should do some sanity check for all update logs on it, if the log file is not accessible (e.g. OI mapping mismatch, which may lead to recovery timeout too), delete the log file FID from update catalog (do not delete this file at the moment because it's inaccessible) so that the log file is not visible to others.

      Attachments

        Issue Links

          Activity

            [LU-16159] remove update llog files after recovery abort
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-7011 [ LU-7011 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Patches already landed are what will be in 2.16.

            pjones Peter Jones added a comment - Patches already landed are what will be in 2.16.
            adilger Andreas Dilger made changes -
            Labels New: llog recovery
            adilger Andreas Dilger made changes -
            Summary Original: remove update logs after recovery abort New: remove update llog files after recovery abort
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-17365 [ LU-17365 ]

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51224
            Subject: LU-16159 osp: destroy should not overtake writes
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: acfee963c6999785afdd3b25c83015695099a3b9

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51224 Subject: LU-16159 osp: destroy should not overtake writes Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: acfee963c6999785afdd3b25c83015695099a3b9

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51223
            Subject: LU-16159 lod: cancel update llogs upon recovery abort
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: a544f6c69fe4b2eb81f4b05581654325ecc96f93

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51223 Subject: LU-16159 lod: cancel update llogs upon recovery abort Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: a544f6c69fe4b2eb81f4b05581654325ecc96f93

            Is there anything left for this ticket, or can it be resolved?

            adilger Andreas Dilger added a comment - Is there anything left for this ticket, or can it be resolved?
            cfaber Colin Faber made changes -
            Link New: This issue is related to DDN-3614 [ DDN-3614 ]

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: