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

Amit Kapila
Fix the race condition in the test case added by commita6e04b1.
The commita6e04b1 added a test to ensure that the invalidated logicalslots don't retain WAL. The test was ensuring that the checkpoint removesthe WAL files corresponding to invalidated logical slots on the standbynode but missed the point that the standby node also had a physical slotwhich led to the prevention of WAL file removal. Move the creation ofphysical slot on the standby and initialization of cascading standby closerto the test case that actually required it so that other tests don't getaffected by the presence of the physical slot on standby.Author: Bertrand DrouvotReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/2fefa454-5a70-2174-ddbf-4a0e41537139@gmail.com1 parent3d144c6 commitc5b7f67
1 file changed
+18
-18
lines changedLines changed: 18 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 | 279 |
| |
294 | 280 |
| |
295 | 281 |
| |
| |||
503 | 489 |
| |
504 | 490 |
| |
505 | 491 |
| |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 | 492 |
| |
510 | 493 |
| |
511 | 494 |
| |
| |||
777 | 760 |
| |
778 | 761 |
| |
779 | 762 |
| |
780 |
| - | |
| 763 | + | |
781 | 764 |
| |
782 | 765 |
| |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
|
0 commit comments
Comments
(0)