[LU-10989] lustre_rsync may clear an unconsumed record after a CL_RENAME Created: 02/May/18  Updated: 01/Aug/18  Resolved: 17/May/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.12.0, Lustre 2.10.5

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Gerrit Updater [ 02/May/18 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/32247
Subject: LU-10989 utils: correct lustre_rsync changelog clear logic
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7aac1e9b1f695a771c7ac4c9615cfc07edf4dd1a

Comment by Gerrit Updater [ 17/May/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32247/
Subject: LU-10989 utils: correct lustre_rsync changelog clear logic
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 62ac9c6572e5d42183a9bf5fbbd6a8ead62408cd

Comment by Peter Jones [ 17/May/18 ]

Landed for 2.12

Comment by Gerrit Updater [ 23/May/18 ]

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

Comment by Gerrit Updater [ 01/Aug/18 ]

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

Generated at Sat Feb 10 02:39:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.