pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Report missing wait event for timeline history file.
Date: Fri, 08 May 2020 01:40:42 +0000
Message-ID: <E1jWs0I-0003Oq-AD@gemulon.postgresql.org> (raw)

Report missing wait event for timeline history file.

TimelineHistoryRead and TimelineHistoryWrite wait events are reported
during waiting for a read and write of a timeline history file, respectively.
However, previously, TimelineHistoryRead wait event was not reported
while readTimeLineHistory() was reading a timeline history file. Also
TimelineHistoryWrite was not reported while writeTimeLineHistory() was
writing one line with the details of the timeline split, at the end.
This commit fixes these issues.

Back-patch to v10 where wait events for a timeline history file was added.

Author: Masahiro Ikeda
Reviewed-by: Michael Paquier, Fujii Masao
Discussion: https://postgr.es/m/d11b0c910b63684424e06772eb844ab5@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f2ff2035962cd2ddd56c1593709d48ca0d3a78c5

Modified Files
--------------
src/backend/access/transam/timeline.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)



view thread (4+ messages)

Message-ID: <E1jWs0I-0003Oq-AD@gemulon.postgresql.org>
Permalink:  ../E1jWs0I-0003Oq-AD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jWs0I-0003Oq-AD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Report missing wait event for timeline history file.
  In-Reply-To: <E1jWs0I-0003Oq-AD@gemulon.postgresql.org>
  References: <E1jWs0I-0003Oq-AD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox