Mar 2022

1 commit
Fix race between DROP TABLESPACE and checkpointing.
16 Mar 2022Thomas Munromaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.3REL_13_STABLE13.7+3 more
LLM analysis, 100% surelanded as postedfrom patchset #141 of 2 reviewers saw the final version

The commit matches #14 in src/backend/access/transam/xlog.c and src/backend/storage/sync/sync.c, with identical executable changes and comment wording; differences are comment wrapping and rebased context. Thomas confirms pushing and back-patching the fix in #15.

  • Thomas Munrosaw the final versiontrailerThomas traced the delayed unlink through diagnostic logging #2 #3 and, as committer, reviewed the final patch #14 before announcing its push and back-patches #15.
  • Andres Freundsaw an earlier versiontrailerAndres challenged the CheckpointerMain() placement and its single-user-mode implications #12, after which Nathan moved the absorb back into SyncPreCheckpoint() and relocated that call outside the critical section #13 #14.

Credits across 1 commit

Author
Nathan Bossart1
Reviewer
Andres Freund1
Thomas Munro1
Reported by
Nathan Bossart1
Committer
Thomas Munro1