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

Amit Kapila
Ensure to send a prepare after we detect concurrent abort during decoding.
It is possible that while decoding a prepared transaction, it gets abortedconcurrently via a ROLLBACK PREPARED command. In that case, we wereskipping all the changes and directly sending Rollback Prepared when wefind the same in WAL. However, the downstream has no idea of the GID ofsuch a transaction. So, ensure to send prepare even when a concurrentabort is detected.Author: Ajin CherianReviewed-by: Markus Wanner, Amit KapilaDiscussion:https://postgr.es/m/f82133c6-6055-b400-7922-97dae9f2b50b@enterprisedb.com1 parent0d1a334 commit4778826
File tree
2 files changed
+17
-6
lines changed- doc/src/sgml
- src/backend/replication/logical
2 files changed
+17
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
545 | 545 |
| |
546 | 546 |
| |
547 | 547 |
| |
548 |
| - | |
549 |
| - | |
550 |
| - | |
551 |
| - | |
552 |
| - | |
553 |
| - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
554 | 557 |
| |
555 | 558 |
| |
556 | 559 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2664 | 2664 |
| |
2665 | 2665 |
| |
2666 | 2666 |
| |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
2667 | 2675 |
| |
2668 | 2676 |
| |
2669 | 2677 |
| |
|
0 commit comments
Comments
(0)