- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitab74ce4
committed
Add information about "generation" when dropping twice pgstats entry
Dropping twice a pgstats entry should not happen, and the error reportgenerated was missing the "generation" counter (tracking when an entryis reused) that has been added in818119a.Liked92573a, backpatch down to v15 where this information isuseful to have, to gather more information from instances where theproblem shows up. A report has shown that this error path has beenreached on a standby based on 17.3, for a relation stats entry and anOID close to wraparound.Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Discussion:https://postgr.es/m/CAN4RuQvYth942J2+FcLmJKgdpq6fE5eqyFvb_PuskxF2eL=Wzg@mail.gmail.comBackpatch-through: 151 parenta9ffb35 commitab74ce4
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
| 882 | + | |
882 | 883 | | |
883 | 884 | | |
884 | 885 | | |
| |||
0 commit comments
Comments
(0)