- Notifications
You must be signed in to change notification settings - Fork28
Commitcaa0c6c
committed
Fix initial sync of slot parent directory when restoring status
At the beginning of recovery, information from replication slots isrecovered from disk to memory. In order to ensure the durability of theinformation, the status file as well as its parent directory aresynced. It happens that the sync on the parent directory was donedirectly using the status file path, which is logically incorrect, andthe current code has been doing a sync on the same object twice in arow.Reported-by: Konstantin KnizhnikDiagnosed-by: Konstantin KnizhnikAuthor: Michael PaquierDiscussion:https://postgr.es/m/9eb1a6d5-b66f-2640-598d-c5ea46b8f68a@postgrespro.ruBackpatch-through: 9.4-1 parent4299c32 commitcaa0c6c
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1352 | 1352 |
| |
1353 | 1353 |
| |
1354 | 1354 |
| |
| 1355 | + | |
1355 | 1356 |
| |
1356 | 1357 |
| |
1357 | 1358 |
| |
| |||
1361 | 1362 |
| |
1362 | 1363 |
| |
1363 | 1364 |
| |
1364 |
| - | |
| 1365 | + | |
| 1366 | + | |
1365 | 1367 |
| |
1366 | 1368 |
| |
1367 | 1369 |
| |
1368 | 1370 |
| |
1369 | 1371 |
| |
1370 |
| - | |
| 1372 | + | |
1371 | 1373 |
| |
1372 | 1374 |
| |
1373 | 1375 |
| |
| |||
1402 | 1404 |
| |
1403 | 1405 |
| |
1404 | 1406 |
| |
1405 |
| - | |
| 1407 | + | |
1406 | 1408 |
| |
1407 | 1409 |
| |
1408 | 1410 |
| |
| |||
1491 | 1493 |
| |
1492 | 1494 |
| |
1493 | 1495 |
| |
1494 |
| - | |
1495 |
| - | |
1496 |
| - | |
| 1496 | + | |
1497 | 1497 |
| |
1498 | 1498 |
| |
1499 | 1499 |
| |
1500 |
| - | |
| 1500 | + | |
1501 | 1501 |
| |
1502 | 1502 |
| |
1503 | 1503 |
| |
|
0 commit comments
Comments
(0)