comment for "fast promote"

From: Tomonari Katsumata <katsumata(dot)tomonari(at)po(dot)ntts(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: comment for "fast promote"
Date: 2013-07-25 08:33:38
Message-ID: 51F0E2E2.5090204@po.ntts.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Now I'm seeing xlog.c in 93_stable for studying "fast promote",
and I have a question.

I think it has an extra unlink command for "promote" file.
(on 9937 line)
-------
9934 if (stat(FAST_PROMOTE_SIGNAL_FILE, &stat_buf) == 0)
9935 {
9936 unlink(FAST_PROMOTE_SIGNAL_FILE);
9937 unlink(PROMOTE_SIGNAL_FILE);
9938 fast_promote = true;
9939 }
-------

Is this command necesary ?

regards,
------------------
NTT Software Corporation
Tomonari Katsumata

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2013-07-25 08:46:10 Re: Expression indexes and dependecies
Previous Message suresh.balasubra 2013-07-25 08:32:39 Re: [GENERAL] currval and DISCARD ALL