Re: checkpointer: PANIC: could not fsync file: No such file or directory

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: checkpointer: PANIC: could not fsync file: No such file or directory
Date: 2019-11-29 21:57:24
Message-ID: CA+hUKGJnt23ej4cuSm0AkFdbpet+gZ7Rqn3EhU6ymEhszLGsrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 29, 2019 at 12:34 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> ... or stop using
> _mdfd_getseg() for this so that you can remove segments independently
> without worrying about sync requests for other segments (it was
> actually like that in an earlier version of the patch for commit
> 3eb77eba, but someone complained that it didn't benifit from fd
> caching).

Not sure which approach I prefer yet, but here's a patch showing that
alternative.

Attachment Content-Type Size
0001-Don-t-use-_mdfd_getseg-in-mdsyncfiletag.patch application/octet-stream 2.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2019-11-29 22:21:53 Re: Make autovacuum sort tables in descending order of xid_age
Previous Message David Fetter 2019-11-29 18:01:39 Make autovacuum sort tables in descending order of xid_age