You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "kitoha (via GitHub)" <gi...@apache.org> on 2025/08/21 02:21:07 UTC
Re: [PR] [#8165] Fix If commit and rollback fails, session close and threadLocal remove. [gravitino]
kitoha commented on PR #8210:
URL: https://github.com/apache/gravitino/pull/8210#issuecomment-3208763886
hi, @justinmclean , @yuqi1129 . I’ve also implemented the additional changes you requested.
Quick question: are there any cases where a ThreadLocal is created/used outside of SessionUtils while also calling SessionUtils? I’m asking because SessionUtils clears the ThreadLocal; if someone opens the ThreadLocal externally, calls SessionUtils, and then tries to use that ThreadLocal again afterward, it could cause issues.
Please review and let me know if you see any problems.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org