[LU-6386] lower transno may overwrite the bigger one in client last_rcvd slot Created: 19/Mar/15  Updated: 19/Mar/19  Resolved: 14/Oct/15

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

Type: Bug Priority: Critical
Reporter: Mikhail Pershin Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
Related
is related to LU-5319 Support multiple slots per client in ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The tgt_last_rcvd_update() may update transaction number in client slot with smaller value. That may cause client to see wrong error message:

LustreError: 3662:0:(import.c:985:ptlrpc_connect_interpret()) pfs2dat1-OST000a_UUID went back in time (transno 77492683762 was previously committed, server now claims 77492683761)! See https://bugzilla.lustre.org/show_bug.cgi?id=9646

This is possible on OST with several IO requests from one client and safe but it is better to keep transaction value in last_rcvd monotonically increased to avoid confusion on client side.



 Comments   
Comment by Gerrit Updater [ 19/Mar/15 ]

Mike Pershin (mike.pershin@intel.com) uploaded a new patch: http://review.whamcloud.com/14113
Subject: LU-6386 tgt: don't update client data with smaller transno
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: af8cc22454df96abe45e26d7887fd5bc69cc3daf

Comment by Andreas Dilger [ 24/Jun/15 ]

It would also be good to change the error message not to reference bugzilla, but instead an LU ticket.

Comment by Supporto Lustre Jnet2000 (Inactive) [ 03/Jul/15 ]

Please could you give us a link where we can download this patch RPM?

Regards

Comment by Gerrit Updater [ 14/Oct/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14113/
Subject: LU-6386 tgt: don't update client data with smaller transno
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5fa93f6011dc37fba3354137457b80151f46c66f

Comment by Joseph Gmitter (Inactive) [ 14/Oct/15 ]

Landed for 2.8

Generated at Sat Feb 10 01:59:46 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.