Re: Intermittent pg_ctl failures on Windows

From: Жарков Роман <r(dot)zharkov(at)postgrespro(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Badrul Chowdhury <bachow(at)microsoft(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Intermittent pg_ctl failures on Windows
Date: 2019-07-18 07:04:34
Message-ID: ECD07611-BBA8-4E9B-975C-50E59F7154DA@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Therefore, we suggest replace the deletion of a lock file by renaming it.
unlink in windows is not an atomic operation.
When we try to open the file between
SetDispositionInformationFile and CloseFile we get ERROR_DELETE_PENDING ( see screenshot )

Attachment Content-Type Size
image1.png image/png 134.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-07-18 07:24:05 Re: Performance issue in foreign-key-aware join estimation
Previous Message Etsuro Fujita 2019-07-18 06:55:36 Re: [HACKERS] advanced partition matching algorithm for partition-wise join