Mar 2025

1 commit
Fix rare assertion failure in standby, if primary is restarted
23 Mar 2025Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 2 reviewers saw the final version

Heikki Linnakangas diagnosed missing xactCompletionCount updates in #7 and agreed to also maintain latestCompletedXid after Andres Freund's analysis in #11 and #12. The commit implements both updates in ExpireAllKnownAssignedTransactionIds() and ExpireOldKnownAssignedTransactionIds() in src/backend/storage/ipc/procarray.c; no patch was attached.

  • Tomas Vondrasaw an earlier versionLLM analysis, 96% sureIn #8, he reported roughly 1,000 stress-test runs without failures after adding the proposed xactCompletionCount updates; the committed fix subsequently added latestCompletedXid maintenance.
  • Andres Freundsaw the final versionLLM analysis, 98% sureIn #11, he identified missing latestCompletedXid maintenance and clarified the primary crash-restart scenario, prompting the additional correction accepted in #12.

Credits across 1 commit

Committer
Heikki Linnakangas1