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

Broadcast HSM remove requests with undetermined archive_id to all registered copytools

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 9223372036854775807

    Description

      The need for this change has been unveiled by configuring RobinHood delayed soft_rm feature, where HSM remove requests are submitted with no/Null archive_id, because RBH current version does not save archive_id infromation in its SOFT_RM DB table.
      Since the corresponding files/FIDs have been fully unlinked, their Inodes/xattrs are no longer available in the name-space, and thus CDT is unable to retrieve the archive_id information by himself.
      This leads to a situation where, without a copytool being registered to handle all/32 archive_ids, these HSM remove request can not be processed and will leak in archive.

      Attachments

        Issue Links

          Activity

            [LU-6449] Broadcast HSM remove requests with undetermined archive_id to all registered copytools
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/21077/
            Subject: LU-6449 mdt: correct status and ChangeLogs for dead objects
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3ed1444d3fa4e31fbb99c82a478802c0dbcb168e

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/21077/ Subject: LU-6449 mdt: correct status and ChangeLogs for dead objects Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3ed1444d3fa4e31fbb99c82a478802c0dbcb168e

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/22212/
            Subject: LU-6449 hsm: handle completions with non-existent objects
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4465f1cf50dc16b37a9ea23efec78b17fd1936eb

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/22212/ Subject: LU-6449 hsm: handle completions with non-existent objects Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4465f1cf50dc16b37a9ea23efec78b17fd1936eb
            gerrit Gerrit Updater added a comment - - edited

            This Gerrit Updater msg has been removed because it had been wrongly added to this ticket due to a typo (LU-6449 vs LU-6499) in the header/1st-line of commit msg.

            gerrit Gerrit Updater added a comment - - edited This Gerrit Updater msg has been removed because it had been wrongly added to this ticket due to a typo ( LU-6449 vs LU-6499 ) in the header/1st-line of commit msg.

            Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/22212
            Subject: LU-6449 hsm: handle completions with non-existent objects
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f597ff217fe1eda6d84d551cd6691bfd0141409d

            gerrit Gerrit Updater added a comment - Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/22212 Subject: LU-6449 hsm: handle completions with non-existent objects Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f597ff217fe1eda6d84d551cd6691bfd0141409d

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20991/
            Subject: LU-6449 mdt: broadcast orphan hsm_remove requests
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: fc84852e990dd3174b63ab8e16e6bc3c0b1b092a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20991/ Subject: LU-6449 mdt: broadcast orphan hsm_remove requests Project: fs/lustre-release Branch: master Current Patch Set: Commit: fc84852e990dd3174b63ab8e16e6bc3c0b1b092a

            Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/21077
            Subject: LU-6449 mdt: correct status and ChangeLogs for dead objects
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4e38194561ec193bef858d32f3824994fb660b18

            gerrit Gerrit Updater added a comment - Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/21077 Subject: LU-6449 mdt: correct status and ChangeLogs for dead objects Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4e38194561ec193bef858d32f3824994fb660b18

            Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/20991
            Subject: LU-6449 mdt: broadcast orphan hsm_remove requests
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5a5aead31f9ebab8219ef47446174294cb95c80b

            gerrit Gerrit Updater added a comment - Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/20991 Subject: LU-6449 mdt: broadcast orphan hsm_remove requests Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5a5aead31f9ebab8219ef47446174294cb95c80b

            RobinHood side/specific patch is at https://review.gerrithub.io/238708 ("hsm_rm: store archive_id and use it for deferred remove requests").

            bfaccini Bruno Faccini (Inactive) added a comment - RobinHood side/specific patch is at https://review.gerrithub.io/238708 ("hsm_rm: store archive_id and use it for deferred remove requests").

            In fact both are complementary! The Lustre change for this ticket will avoid to leak files on archives and I will also push a patch to RBH repo in order to have it store the archive_id.

            bfaccini Bruno Faccini (Inactive) added a comment - In fact both are complementary! The Lustre change for this ticket will avoid to leak files on archives and I will also push a patch to RBH repo in order to have it store the archive_id.

            People

              bfaccini Bruno Faccini (Inactive)
              bfaccini Bruno Faccini (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: