nfs-ganesha icon indicating copy to clipboard operation
nfs-ganesha copied to clipboard

Can we relax the check of sequenceid ?

Open liyinshubyte opened this issue 1 year ago • 1 comments

In nfs4_op_sequence.c, we check if slot->sequence + 1 != arg_SEQUENCE4->sa_sequenceid, will return NFS4ERR_SEQ_MISORDERED. we find in our environment, slot->sequence is 1305, and arg_SEQUENCE4->sa_sequenceid is 1307, it failed the check. Can we relax the check by: slot->sequence + 1 <= arg_SEQUENCE4->sa_sequenceid ?

liyinshubyte avatar Jan 23 '24 03:01 liyinshubyte

Please investigate more what is going on. There are strict rules about sequence ID.

Please also check that you aren't using a client with a known bug, I know there have been client sequence ID bugs.

Any given slot is supposed to only have one outstanding request on it so this looks like a client sending a second request before getting a response from the first.

ffilz avatar Jan 23 '24 16:01 ffilz