Strange debug message of walreciver?

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Strange debug message of walreciver?
Date: 2015-03-08 01:18:11
Message-ID: 20150308.101811.1524766088670917565.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When I set log_min_messages to debug5 and looked into walreciver log,
I saw this:

3600 2015-03-08 09:47:38 JST DEBUG: sendtime 2015-03-08 09:47:38.31493+09 receipttime 2015-03-08 09:47:38.315027+09 replication apply delay -1945478837 ms tran sfer latency 0 ms

The "replication apply delay -1945478837 ms" part looks strange
because the delay is below 0. The number is formatted as %d in elog
call, and I suspect this is kind of integer overflow.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2015-03-08 01:19:57 Re: File based Incremental backup v8
Previous Message Jim Nasby 2015-03-08 00:09:36 Re: Bootstrap DATA is a pita