sahvx655-wq opened a new pull request, #1016:
URL: https://github.com/apache/tomcat/pull/1016

   Updated FileStore.save(Session) to use an atomic write-then-rename pattern. 
Previously, session data was written directly to the final file, which could 
leave partially written or inconsistent session state if the process was 
interrupted during persistence. The new logic writes to a temporary .tmp file 
first and renames it only after a successful write, improving persistence 
reliability and reducing the risk of corruption.


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