| From: | Nadav Shatz <nadav(at)tailorbrands(dot)com> |
|---|---|
| To: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
| Cc: | pgpool-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Proposal: Recent mutated table tracking in memory |
| Date: | 2026-01-29 08:54:48 |
| Message-ID: | CACeKOO36wVT2k5b9G2J4XYvjNQTYf-ARoh8Lp-jbh7Yo8Qo+-w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-hackers |
yes indeed, please find attached.
On Thu, Jan 29, 2026 at 10:28 AM Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
> > 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
>
--
Nadav Shatz
Tailor Brands | CTO
| Attachment | Content-Type | Size |
|---|---|---|
| mutated_table.patch | application/octet-stream | 67.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2026-01-30 08:09:50 | Re: Proposal: Recent mutated table tracking in memory |
| Previous Message | Tatsuo Ishii | 2026-01-29 08:28:10 | Re: Proposal: Recent mutated table tracking in memory |