HyukjinKwon commented on PR #59277:
URL: https://github.com/apache/spark/pull/59277#issuecomment-6112449029

   Thanks @venkata91, I checked b4f98b9d37. `getOrCreateIsolatedSession` now 
throws `INVALID_HANDLE.SESSION_CHANGED` inside the `computeIfAbsent` creation 
function, after `validateSessionCreate`, so a closed or still-closing id still 
gets `SESSION_CLOSED` first and nothing is inserted. The three new tests cover 
an absent key, a stale client after an opted-in expiry, and a closed key with 
an observed id. The conf doc and the `docs/configuration.md` row now describe 
`SESSION_CHANGED` for the old client, the empty new session, and setting the 
conf again.
   
   <!-- SPARK_DEV_REVIEW_REPLY 
{"feedback_id":"conversation:6111249464","thread_id":"conversation:6111249464","verdict_sha256":"8005e72536f124caa4c002bed71ab7f238145d95a762e7291e34a2eb469bf783"}
 -->


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to