Jan 2021

1 commit
Fix O(N^2) stat() calls when recycling WAL segments
15 Jan 2021Michael Paquiermaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1Also in: Broken O(n^2) avoidance in wal segment recycling.
LLM analysis, 100% suremodified before commitlight changesfrom patchset #70 of 1 reviewer saw the final version

The commit matches #7 in src/backend/access/transam/xlog.c, with only parameter reordering, corresponding comment edits, formatting and a completed commit message; the recycling logic is unchanged. This January 2021 patchset supersedes the June 2017 submissions listed for thread #36982, making this thread the latest matching source.

  • Andres Freundno review foundtrailerAndres supplied a rebase of the older fix in #2, but no review of the attached patchset appears here, and he explicitly apologized for missing a precommit review in #12.

Credits across 1 commit

Author
Michael Paquier1
Reviewer
Andres Freund1
Reported by
Andres Freund1
Thomas Munro1
Committer
Michael Paquier1