bneradt opened a new pull request, #13432:
URL: https://github.com/apache/trafficserver/pull/13432

   Replaced file data was retired onto a freelist and freed after a
   timeout, but the deadline was computed from a timestamp taken before
   the blocking inotify read. That timestamp is stale by however long the
   watcher waited for an event, so the deadline was routinely already in
   the past and the data was freed while transactions still referenced it.
   
   Hold the data in a shared_ptr and let each transaction pin its own
   snapshot. The data now lives exactly as long as it is referenced, which
   removes both the freelist and the guess about how long a transaction
   can last.
   
   Fixes: #8735


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