public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tatsuo Ishii <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Proposal: Recent mutated table tracking in memory
Date: Thu, 29 Jan 2026 17:28:10 +0900 (JST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CACeKOO2hjPmstboJaa=rw8Erd7k5VhXyupU39bAosCPtUe1UBA@mail.gmail.com>
	<CACeKOO1NBExVWG0=wMKc+Kpk-RFXM2i1XTqzGdB9Z_pqg+5otg@mail.gmail.com>
	<[email protected]>

> Hi Nadav,
> 
> Sorry for the late reply. I just your email now. Will check and reply
> back soon.

Unfortunately your patch failed to apply to current master branch.

$ git apply ~/mutated_table.patch 
error: patch failed: src/streaming_replication/pool_worker_child.c:1032
error: src/streaming_replication/pool_worker_child.c: patch does not apply

It tried with patch command and it seems failed here:

--- src/streaming_replication/pool_worker_child.c
+++ src/streaming_replication/pool_worker_child.c
@@ -1034,6 +1036,10 @@ check_replication_time_lag_with_cmd(void)
 			bkinfo->standby_delay = delay;
 			bkinfo->standby_delay_by_time = true;
 
+			/* Track maximum delay for memory map TTL calculation */
+			if (delay > max_delay_us)
+				max_delay_us = delay;
+
 			/* Log delay if necessary */
 			delay_threshold_by_time = pool_config->delay_threshold_by_time * 1000;	/* threshold is in
 																					 * milliseconds, convert

Need rebase?
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp





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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Proposal: Recent mutated table tracking in memory
  In-Reply-To: <[email protected]>

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

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