| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Report missing wait event for timeline history file. |
| Date: | 2020-05-08 01:40:04 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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/[email protected]
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/cc534fc3b289b4ec199705733120a55252442f5a
Modified Files
--------------
src/backend/access/transam/timeline.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2020-05-08 01:40:18 | pgsql: Report missing wait event for timeline history file. |
| Previous Message | Fujii Masao | 2020-05-08 01:39:51 | pgsql: Report missing wait event for timeline history file. |