|From:||Nathan Bossart <nathandbossart(at)gmail(dot)com>|
|Subject:||suppressing useless wakeups in logical/worker.c|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
I've attached an attempt at porting a similar change to 05a7be9  to
logical/worker.c. The bulk of the patch is lifted from the walreceiver
patch, but I did need to add a hack for waking up after
wal_retrieve_retry_interval to start sync workers. This hack involves a
new wakeup variable that process_syncing_tables_for_apply() sets.
For best results, this patch should be applied on top of , which is an
attempt at fixing all the stuff that only runs within a reasonable
timeframe because logical worker processes currently wake up at least once
a second. With the attached patch applied, those periodic wakeups are
gone, so we need to make sure we wake up the logical workers as needed.
Amazon Web Services: https://aws.amazon.com
|Next Message||Pavel Stehule||2022-12-02 20:08:38||Re: Schema variables - new implementation for Postgres 15|
|Previous Message||Nathan Bossart||2022-12-02 19:21:01||Re: wake up logical workers after ALTER SUBSCRIPTION|