[LU-14708] updates to last_rcvd on new client connect and disconnect should be synchronous Created: 26/May/21  Updated: 25/Oct/23  Resolved: 25/Oct/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Vladimir Saveliev Assignee: Vladimir Saveliev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15588 osd_trans_stop() misses th_sync flag ... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Otherwise, clients may get evicted if failover happens before update commit.

test_149() {
        remount_client $MOUNT

	replay_barrier_nosync mds1

        fail_nodf mds1

	ls $MOUNT || error "ls failed"
}
run_test 149 "failover after client remount"

ends with

== recovery-small test 149: failover after client remount ============================================ 13:43:02 (1622025782)
Stopping client new4 /mnt/lustre (opts:)
Starting client: new4:  -o user_xattr,flock new4@tcp:/lustre /mnt/lustre
Replay barrier on lustre-MDT0000
Failing mds1 on new4
Stopping /mnt/lustre-mds1 (opts:) on new4
reboot facets: mds1
Failover mds1 to new4
mount facets: mds1
Starting mds1: -o localrecov  /dev/mapper/mds1_flakey /mnt/lustre-mds1
Started lustre-MDT0000
ls: cannot access /mnt/lustre: Input/output error
 recovery-small test_149: @@@@@@ FAIL: ls failed


 Comments   
Comment by Gerrit Updater [ 26/May/21 ]

Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/43834
Subject: LU-14708 target: update last_rcvd synchronously
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6bfd4e30a64664ac2f175915a631398f96955a1e

Comment by Gerrit Updater [ 25/Oct/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/43834/
Subject: LU-14708 ptlrpc: skip unnecessary client eviction
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 71f8e5d6506fb36d56d03024f68da23de84d92d3

Comment by Peter Jones [ 25/Oct/23 ]

Landed for 2.16

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