[LU-17306] LAST ID synchronization between MDT-OST Created: 21/Nov/23  Updated: 20/Dec/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alexander Boyko Assignee: Alexander Boyko
Resolution: Unresolved Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

During the cleanup orphan phase after MDT start, reconnection leads to unsynchronized last id between MDT and OST. This means that MDT could assign non existing objects to a client for a file create operation.

Oct 25 15:20:31 capstorn075 kernel: LustreError: 358076:0:(ofd_dev.c:1570:ofd_create_hdl()) capstor-OST0087: dropping old orphan cleanup request
Oct 25 15:22:20 capstorn075 kernel: Lustre: capstor-OST0087: MDS LAST_ID [0x2540000400:0xb6941:0x0] (747841) is 352 behind OST LAST_ID [0x2540000400:0xb6aa1:0x0] (748193), trust the OST


 Comments   
Comment by Gerrit Updater [ 21/Nov/23 ]

"Alexander Boyko <alexander.boyko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53195
Subject: LU-17306 ofd: return error for reconnection
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8d77a5780d6611109fefc91fa68d2e45a1bc223f

Comment by Gerrit Updater [ 20/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53195/
Subject: LU-17306 ofd: return error for reconnection
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fe098e400458e650998f64c6babba41a6751cef7

Generated at Sat Feb 10 03:34:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.