Whamcloud - gitweb
LU-11478 lnet: misleading discovery seqno. 04/33304/34
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 5 Oct 2018 00:18:20 +0000 (17:18 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:18:50 +0000 (18:18 +0000)
commit42d999ed8f6113724b1ac103b832d5b74b878d55
tree8cab745d8189c0802a9946bec5dc1e8b10e44d52
parent18c850cb91a64fcc38ae0801e6fab983607ded71
LU-11478 lnet: misleading discovery seqno.

There is a sequence number used when sending discovery messages. This
sequence number is intended to detect stale messages. However it
could be misleading if the peer reboots. In this case the peer's
sequence number will reset. The node will think that all information
being sent to it is stale, while in reality the peer might've
changed configuration.

There is no reliable why to know whether a peer rebooted, so we'll
always assume that the messages we're receiving are valid. So we'll
operate on first come first serve basis.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I421a00e47bc93ee60fa37c648d6d9a726d9def9c
Reviewed-on: https://review.whamcloud.com/33304
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
lnet/lnet/peer.c