Re: Allow processes to reset procArrayGroupNext themselves instead of leader resetting for all the followers

2022-11-27 Thread Bharath Rupireddy
On Sun, Nov 27, 2022 at 2:48 AM Andres Freund wrote: > > Hi, > > On 2022-11-24 10:43:46 +0530, Bharath Rupireddy wrote: > > While working on something else, I noticed that the proc array group > > XID clearing leader resets procArrayGroupNext of all the followers > > atomically along with

Re: Allow processes to reset procArrayGroupNext themselves instead of leader resetting for all the followers

2022-11-26 Thread Andres Freund
Hi, On 2022-11-24 10:43:46 +0530, Bharath Rupireddy wrote: > While working on something else, I noticed that the proc array group > XID clearing leader resets procArrayGroupNext of all the followers > atomically along with procArrayGroupMember. ISTM that it's enough for > the followers to exit

Allow processes to reset procArrayGroupNext themselves instead of leader resetting for all the followers

2022-11-23 Thread Bharath Rupireddy
Hi, While working on something else, I noticed that the proc array group XID clearing leader resets procArrayGroupNext of all the followers atomically along with procArrayGroupMember. ISTM that it's enough for the followers to exit the wait loop and continue if the leader resets just