Whamcloud - gitweb
LU-11251 mdt: ASSERTION (req_transno < next_transno) failed 01/33001/11
authorVitaly Fertman <c17818@cray.com>
Tue, 7 Aug 2018 14:59:13 +0000 (17:59 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 May 2019 05:57:37 +0000 (05:57 +0000)
commit53764826b95f1264f17cdb186f8d8a3120d90806
tree468d5df3b8072b290ca2bd59c081c6523d9f7897
parentad51768ddb043c5fd2a3c6b8663c66b71dc3f391
LU-11251 mdt: ASSERTION (req_transno < next_transno) failed

An update request is checked for duplicates by xid in
is_req_replayed_by_update(). However xid is unique per
client only. It may happen that there are 2 requests
with the same xid from different clients.

Perform lookup by transno, it is unique per MDT.

Change-Id: If00b69f01451c659292c004aa296a6ea36680d3c
Cray-bug-id: LUS-6015
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Tested-by: Elena Gryaznova <c17455@cray.com>
Reviewed-on: https://review.whamcloud.com/33001
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/client.c
lustre/target/out_handler.c
lustre/target/update_recovery.c
lustre/tests/replay-dual.sh