Mar 2021

1 commit
Fix race condition in drop subscription's handling of tablesync slots.
17 Mar 2021Amit Kapilamaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

The commit preserves the executable changes from #4 in src/backend/replication/logical/tablesync.c exactly. Only the explanatory comment changes: it corrects 'subscrition', adds a comma as requested in #5, and reflows the text.

  • Vignesh Csaw the final versiontrailerVignesh reproduced the race with a debugger, verified that the patch fixed it, and requested the comment corrections incorporated into the commit #5.
  • Takamichi Osumisaw the final versiontrailerTakamichi tested the patch by blocking CreateReplicationSlot and confirmed that DROP SUBSCRIPTION waited and then removed both slots; only comment edits followed #6.

Credits across 1 commit

Author
Amit Kapila1
Reviewer
osumi.takamichi@fujitsu.com1
vignesh C1
Reported by
Thomas Munro as per buildfarm1
Committer
Amit Kapila1