[bakeathon] [session] fixing seq_id in recovery
when we are resending a create_session op we need to get possibly updated initial sequence number from the client data structure.
This commit is contained in:
parent
fd870e6ce9
commit
ac9e621c44
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ retry:
|
||||||
compound->args.argarray[0].arg;
|
compound->args.argarray[0].arg;
|
||||||
AcquireSRWLockShared(&session->client->exid_lock);
|
AcquireSRWLockShared(&session->client->exid_lock);
|
||||||
csa->csa_clientid = session->client->clnt_id;
|
csa->csa_clientid = session->client->clnt_id;
|
||||||
|
csa->csa_sequence = session->client->seq_id;
|
||||||
AcquireSRWLockShared(&session->client->exid_lock);
|
AcquireSRWLockShared(&session->client->exid_lock);
|
||||||
}
|
}
|
||||||
goto do_retry;
|
goto do_retry;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue