Hi Ayush, 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. */ ====== Kind Regards, Peter Smith. Fujitsu Australia
