- Notifications
You must be signed in to change notification settings - Fork28
Commit34dae90
committed
Fix amcheck for page checks concurrent to replay of btree page deletion
amcheck expects at least hikey to always exist on leaf page even if it isdeleted page. But replica reinitializes page during replay of page deletion,causing deleted page to have no items. Thus, replay of page deletion cancause an error in concurrent amcheck run.This commit relaxes amcheck expectation making it tolerate deleted page withno items.Reported-by: Konstantin KnizhnikDiscussion:https://postgr.es/m/CAPpHfdt_OTyQpXaPJcWzV2N-LNeNJseNB-K_A66qG%3DL518VTFw%40mail.gmail.comAuthor: Alexander KorotkovReviewed-by: Peter GeogheganBackpatch-through: 111 parente8abf58 commit34dae90
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2864 | 2864 |
| |
2865 | 2865 |
| |
2866 | 2866 |
| |
2867 |
| - | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
2868 | 2872 |
| |
2869 | 2873 |
| |
2870 | 2874 |
| |
| |||
2884 | 2888 |
| |
2885 | 2889 |
| |
2886 | 2890 |
| |
2887 |
| - | |
| 2891 | + | |
2888 | 2892 |
| |
2889 | 2893 |
| |
2890 | 2894 |
| |
2891 | 2895 |
| |
2892 | 2896 |
| |
2893 |
| - | |
| 2897 | + | |
2894 | 2898 |
| |
2895 | 2899 |
| |
2896 | 2900 |
| |
|
0 commit comments
Comments
(0)