Re: BUG #14243: pg_basebackup failes by a STATUS_DELETE_PENDING file

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, amit(dot)kapila16(at)gmail(dot)com, harukat(at)sraoss(dot)co(dot)jp, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14243: pg_basebackup failes by a STATUS_DELETE_PENDING file
Date: 2016-08-03 06:15:39
Message-ID: CAB7nPqRR0j7Qj-hK8J8BBTj4gLhuNGGBUXt2b8z7K8cLw5+xrg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Aug 3, 2016 at 2:33 PM, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
> [Sorry for hanging to wrong message but I cannot get any email from
> the list since this morning and I have to create a email from the
> archive (posting is ok using the same email account. See my From:).]
>
> Since no one came up with any useful solution for this soon, I think
> I need to add this to the TODO list unless there's an objection.

The last time I looked for for a way to make the difference between a
permission error and a pending deletion status, I bumped into the
following tool PendMove:
https://technet.microsoft.com/en-us/sysinternals/bb897556.aspx

Well, it is not useful in itself, but, as my colleague Nikhil
Deshpande has pointed out, it becomes more interesting if combined
with ProcessExplorer to see what system calls it does:
https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx
This may allow us to find a way what are the system APIs called to
make the difference and then use them.

I don't make a priority of this item, but, Takatsuka-san, that's an
idea to dig for I think.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kishor Hargude 2016-08-03 07:00:20 Re: BUG #14273: Tuple concurently updated error while creating function using async call from node js with postgresq
Previous Message Tatsuo Ishii 2016-08-03 05:33:41 Re: BUG #14243: pg_basebackup failes by a STATUS_DELETE_PENDING file