forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitebf6de8
committed
Add more TAP coverage for archive status with crash recovery of standbys
This part of the test was included originally in4e87c48, but gotreverted as off9c1b8d because of timing issues in the test, where,after more analysis, we found that the standbys may not have recoveredfrom the archives all the segments needed by the test. This stabilizesthe test by making sure that standbys replay up to the position returnedby pg_switch_wal(), meaning that all segments are recovered before themanual checkpoint that tests WAL segment recycling and its interactionswith archive status files.Author: Jehan-Guillaume de RorthaisReviewed-by: Kyotaro Horiguchi, Michael PaquierDiscussion:https://postgr.es/m/20200424034248.GL33034@paquier.xyz1 parent0278d3f commitebf6de8
1 file changed
+36
-2
lines changedLines changed: 36 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 |
| - | |
123 | 122 |
| |
124 | 123 |
| |
125 | 124 |
| |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 |
| |
127 | 133 |
| |
128 | 134 |
| |
| |||
134 | 140 |
| |
135 | 141 |
| |
136 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
137 | 150 |
| |
138 | 151 |
| |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
139 | 158 |
| |
140 | 159 |
| |
141 | 160 |
| |
142 | 161 |
| |
143 | 162 |
| |
144 | 163 |
| |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
145 | 169 |
| |
146 | 170 |
| |
147 | 171 |
| |
| |||
153 | 177 |
| |
154 | 178 |
| |
155 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
156 | 186 |
| |
157 | 187 |
| |
158 | 188 |
| |
159 | 189 |
| |
160 | 190 |
| |
161 | 191 |
| |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
162 | 196 |
| |
163 | 197 |
| |
164 | 198 |
| |
|
0 commit comments
Comments
(0)