forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbd8fc16

Amit Kapila
Fix BF introduced in commitddd5f4f.
The failure is that the remote slot is not synchronized after the sameslot on standby gets invalidated. The reason was that remote_slot'srestart_lsn was lagged behind the standby's oldest WAL segment. The testdidn't ensure that remote_slot's LSN was advanced to the latest positionbefore we tried to sync the slots via new the functionpg_sync_replication_slots().Discussion:https://postgr.es/m/CAA4eK1JLBi3HzenB6do3_hd78kN0UDD1mz-vumWE52XHHEq5Bw@mail.gmail.com1 parentb8f9e77 commitbd8fc16
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 |
| - | |
| 174 | + | |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
230 | 237 |
| |
231 | 238 |
| |
232 | 239 |
| |
| |||
256 | 263 |
| |
257 | 264 |
| |
258 | 265 |
| |
259 |
| - | |
| 266 | + | |
260 | 267 |
| |
261 | 268 |
| |
262 | 269 |
| |
|
0 commit comments
Comments
(0)