Hi,

On Wed, 25 Nov 2026 at 11:34, Peter Smith <[email protected]> wrote:
> I discussed your latest v3 patch with my LLM. It agreed with the code,
> but recommended more explanation about the logic/details.
>
> e.g.
>
> SUGGESTED COMMENT (before the current_relstate assignment)
> /*
>  * Re-read the state under the lock.  A concurrent REFRESH
>  * may have removed or re-added the table while we waited.
>  * Only the apply worker launches sync workers, so a
>  * re-added table can't have reached SYNCDONE yet.  Skip
>  * rather than error, since that would disable the whole
>  * subscription under disable_on_error.
>  */

Thanks for re-reviewing the patch.

I've updated the comment after altering a bit. Attached v4.

Regards,
Ayush

Attachment: v4-0001-Recheck-table-sync-state-after-refresh.patch
Description: Binary data

Attachment: v4-0002-Test-table-sync-after-a-concurrent-refresh.patch
Description: Binary data

Reply via email to