Re: Reload configuration more frequently in apply worker.

2023-06-07 Thread Amit Kapila
On Tue, Jun 6, 2023 at 7:45 AM Zhijie Hou (Fujitsu) wrote: > > On Monday, June 5, 2023 8:03 AM Amit Kapila wrote: > > > > > > I am able to reproduce the problem with the script and steps mentioned by > > you. The patch provided by you fixes the problem and looks good to me. I'll > > push this by

RE: Reload configuration more frequently in apply worker.

2023-06-05 Thread Zhijie Hou (Fujitsu)
On Monday, June 5, 2023 8:03 AM Amit Kapila wrote: > > On Wed, May 17, 2023 at 8:34 AM Amit Kapila > wrote: > > > > On Wed, May 17, 2023 at 7:18 AM Zhijie Hou (Fujitsu) > > wrote: > > > > > > > > > The attached tap test shows how the failure happened. > > > > > > > I haven't yet tried to

Re: Reload configuration more frequently in apply worker.

2023-06-04 Thread Amit Kapila
On Wed, May 17, 2023 at 8:34 AM Amit Kapila wrote: > > On Wed, May 17, 2023 at 7:18 AM Zhijie Hou (Fujitsu) > wrote: > > > > > > The attached tap test shows how the failure happened. > > > > I haven't yet tried to reproduce it but will try later sometime. > I am able to reproduce the problem

RE: Reload configuration more frequently in apply worker.

2023-05-18 Thread Zhijie Hou (Fujitsu)
On Wednesday, May 17, 2023 11:05 AM Amit Kapila wrote: > > On Wed, May 17, 2023 at 7:18 AM Zhijie Hou (Fujitsu) > wrote: > > > > Currently, the main loop of apply worker looks like below[1]. Since > > there are two loops, the inner loop will keep receiving and applying > > message from

Re: Reload configuration more frequently in apply worker.

2023-05-16 Thread Amit Kapila
On Wed, May 17, 2023 at 7:18 AM Zhijie Hou (Fujitsu) wrote: > > Currently, the main loop of apply worker looks like below[1]. Since there are > two loops, the inner loop will keep receiving and applying message from > publisher until no more message left. The worker only reloads the >

Reload configuration more frequently in apply worker.

2023-05-16 Thread Zhijie Hou (Fujitsu)
Hi, Currently, the main loop of apply worker looks like below[1]. Since there are two loops, the inner loop will keep receiving and applying message from publisher until no more message left. The worker only reloads the configuration in the outer loop. This means if the publisher keeps sending