> On Thu, Feb 17, 2022 at 03:12:47PM -0800, Andres Freund wrote: >>> > The improvements around deleting temporary files and serialized snapshots >>> > afaict don't require a dedicated process - they're only relevant during >>> > startup. We could use the approach of renaming the directory out of the >>> > way as >>> > done in this patchset but perform the cleanup in the startup process after >>> > we're up.
BTW I know you don't like the dedicated process approach, but one improvement to that approach could be to shut down the custodian process when it has nothing to do. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com