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

lustre_rsync may clear an unconsumed record after a CL_RENAME

Details

    • 3
    • 9223372036854775807

    Description

      In lr_replicate(), if we see a non-extended rename record then we consume the following record to get the rename source. lr_clear_cl() accounts for this by adding 1 to the endrc if the current record is a rename. However, lr_clear_cl() always does this even if the current record was an extended rename.

      Attachments

        Activity

          [LU-10989] lustre_rsync may clear an unconsumed record after a CL_RENAME
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-17 [ JFC-17 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to JFC-20 [ JFC-20 ]
          pjones Peter Jones made changes -
          Labels Original: LTS

          John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/32525/
          Subject: LU-10989 utils: correct lustre_rsync changelog clear logic
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set:
          Commit: a41b3782e4ffe961d7d0173845753a1ab23b5463

          gerrit Gerrit Updater added a comment - John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/32525/ Subject: LU-10989 utils: correct lustre_rsync changelog clear logic Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: a41b3782e4ffe961d7d0173845753a1ab23b5463
          mdiep Minh Diep made changes -
          Fix Version/s New: Lustre 2.10.5 [ 14003 ]

          Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32525
          Subject: LU-10989 utils: correct lustre_rsync changelog clear logic
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set: 1
          Commit: 743f3210b303b3fb0201b9ed09c4281cfe0088c8

          gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32525 Subject: LU-10989 utils: correct lustre_rsync changelog clear logic Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 743f3210b303b3fb0201b9ed09c4281cfe0088c8
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-19 [ JFC-19 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-10 [ JFC-10 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to JFC-17 [ JFC-17 ]
          pjones Peter Jones made changes -
          Labels New: LTS

          People

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: