please update ps display for recovery checkpoint

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: please update ps display for recovery checkpoint
Date: 2020-08-18 22:52:39
Message-ID: 20200818225238.GP17022@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

During crash recovery, the server writes this to log:

< 2020-08-16 08:46:08.601 -03 >LOG: redo done at 2299C/1EC6BA00
< 2020-08-16 08:46:08.877 -03 >LOG: checkpoint starting: end-of-recovery immediate

But runs a checkpoint, which can take a long time, while the "ps" display still
says "recovering NNNNNNNN".

Please change to say "recovery checkpoint" or similar, as I mentioned here.
https://www.postgresql.org/message-id/20200118201111.GP26045@telsasoft.com

--
Justin

Attachment Content-Type Size
0001-Update-PS-display-following-replay-of-last-xlog.patch text/x-diff 849 bytes
0002-Document-that-checkpoint_flush_after-applies-to-end-.patch text/x-diff 1014 bytes
0003-Avoid-ambiguous-that.patch text/x-diff 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2020-08-18 23:45:32 Re: pgsql: snapshot scalability: cache snapshots using a xact completion co
Previous Message Alvaro Herrera 2020-08-18 21:51:19 Re: Print logical WAL message content