Sorry, I forgot to write one comment. At Tue, 24 Jan 2023 11:45:35 +0900 (JST), Kyotaro Horiguchi <horikyota....@gmail.com> wrote in
+ /* Should we delay the current transaction? */ + if (finish_ts) + maybe_delay_apply(xid, finish_ts); + if (!am_parallel_apply_worker()) maybe_start_skipping_changes(lsn); It may not give actual advantages, but isn't it better that delay happens after skipping? regards. -- Kyotaro Horiguchi NTT Open Source Software Center