| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | nadav(at)tailorbrands(dot)com |
| Cc: | pgpool-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Proposal: Recent mutated table tracking in memory |
| Date: | 2026-01-29 08:28:10 |
| Message-ID: | 20260129.172810.828658334363427861.ishii@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-hackers |
> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nadav Shatz | 2026-01-29 08:54:48 | Re: Proposal: Recent mutated table tracking in memory |
| Previous Message | Nadav Shatz | 2026-01-28 05:37:07 | Re: Proposal: Recent mutated table tracking in memory |