tustvold commented on issue #4778: URL: https://github.com/apache/arrow-rs/issues/4778#issuecomment-1707201894
> Maybe we could implement it with an Arc<> or use TempDir or some other library to handle the dropping for us This would mean doing potentially blocking IO on the calling thread, whatever that may be... I'm not entirely sure what the implications of blocking when tokio drops a scheduled task, but I suspect they may be undesirable... I did wonder about some sort of cleanup thread, but this then introduces all sorts of interesting race potential... A further wrinkle that may also fall under this ticket, is we don't currently cleanup directories when perhaps we should -- 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]
