zeroshade opened a new pull request, #687:
URL: https://github.com/apache/arrow-go/pull/687

   ### Rationale for this change
   Address crash caused by race condition exemplified by 
https://github.com/apache/arrow-go/actions/runs/22678156759/job/65740770847
   
   When a session is closed, the server removes it from the store and sends a 
trailer with `Max-Age=0` to tell the client to remove the cookie. If the client 
makes a new request before processing this trailer, it sends the stale cookie 
with the closed session id.  Instead of returning `ErrNoSession` it got a 
`session not found` error. 
   
   ### What changes are included in this PR?
   Catch the `session not found` error from the store and return `ErrNoSession` 
so that it properly creates a new session in this case.
   
   ### Are these changes tested?
   yes
   
   ### Are there any user-facing changes?
   no
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to