Interval for launching the table sync worker - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Interval for launching the table sync worker
Date
Msg-id CAD21AoDCnyRJDUY=ESVVe68AukvOP2dFomTeBFpAd1TiFbjsGg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi all,

While testing table sync worker for logical replication I noticed that
if the table sync worker of logical replication failed to insert the
data for whatever reason, the table sync worker process exits with
error. And then the main apply worker launches the table sync worker
again soon without interval. This routine is executed at very high
frequency without interval.

Should we do put a interval (wal_retrieve_interval or make a new GUC
parameter?) for launching the table sync worker?

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Parallel Append implementation
Next
From: Jim Nasby
Date:
Subject: Re: Faster methods for getting SPI results (460%improvement)