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

OI scrub should be able to scan the update log file before replay

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.8.0
    • Lustre 2.8.0
    • 3
    • 9223372036854775807

    Description

      Right now, OI scrub is started after recovery, which might cause problem for MDS-MDS recovery. Because it relies on the update log, which regular FID file, mapped through OI. i.e. after MDT backup and restore, recovery thread will not be able to retrieve the update log file correctly, because OI scrub is not running until recovery finished.

      So we probably should let OI scrub fix some key file first like update log, then start recovery.

      Attachments

        Issue Links

          Activity

            [LU-6380] OI scrub should be able to scan the update log file before replay

            The patch has been landed to master.

            yong.fan nasf (Inactive) added a comment - The patch has been landed to master.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15192/
            Subject: LU-6380 scrub: handle update_log during initial scrub
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 342149e654cdde71b34ad0148749adc7cf9f7cfe

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15192/ Subject: LU-6380 scrub: handle update_log during initial scrub Project: fs/lustre-release Branch: master Current Patch Set: Commit: 342149e654cdde71b34ad0148749adc7cf9f7cfe

            Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/15192
            Subject: LU-6380 scrub: handle update_log during initial scrub
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 6c50004f61c95241fa5f026e540e3172589f06ba

            gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/15192 Subject: LU-6380 scrub: handle update_log during initial scrub Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6c50004f61c95241fa5f026e540e3172589f06ba

            Please also include a test for OI Scrub rebuilding OI files for an MDT in recovery.

            adilger Andreas Dilger added a comment - Please also include a test for OI Scrub rebuilding OI files for an MDT in recovery.
            yong.fan nasf (Inactive) added a comment - - edited

            Currently, the initial OI scrub will fix some key files before recovery, such as ROOT, .lustre, and so on. These files either have known FID or not care about what the FID is. As for the update log, it is new for DNE2, we can make the initial OI scrub to handle them before recovery. But because the update log's FID is stored as its name, then the initial OI scrub needs to handle them specially.

            yong.fan nasf (Inactive) added a comment - - edited Currently, the initial OI scrub will fix some key files before recovery, such as ROOT, .lustre, and so on. These files either have known FID or not care about what the FID is. As for the update log, it is new for DNE2, we can make the initial OI scrub to handle them before recovery. But because the update log's FID is stored as its name, then the initial OI scrub needs to handle them specially.

            People

              yong.fan nasf (Inactive)
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: