- Notifications
You must be signed in to change notification settings - Fork5
Commit9414e41
committed
Fix logical replication launcher wake up and reset
After the logical replication launcher was told to wake up atcommit (for example, by a CREATE SUBSCRIPTION command), the flag to wakeup was not reset, so it would be woken up at every following commit aswell. So fix that by resetting the flag.Also, we don't need to wake up anything if the transaction was rolledback. Just reset the flag in that case.Author: Masahiko Sawada <sawada.mshk@gmail.com>Reported-by: Fujii Masao <masao.fujii@gmail.com>1 parente180c8a commit9414e41
File tree
3 files changed
+7
-4
lines changed- src
- backend
- access/transam
- replication/logical
- include/replication
3 files changed
+7
-4
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2138 | 2138 |
| |
2139 | 2139 |
| |
2140 | 2140 |
| |
2141 |
| - | |
| 2141 | + | |
2142 | 2142 |
| |
2143 | 2143 |
| |
2144 | 2144 |
| |
| |||
2612 | 2612 |
| |
2613 | 2613 |
| |
2614 | 2614 |
| |
| 2615 | + | |
2615 | 2616 |
| |
2616 | 2617 |
| |
2617 | 2618 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
748 | 748 |
| |
749 | 749 |
| |
750 | 750 |
| |
751 |
| - | |
| 751 | + | |
752 | 752 |
| |
753 |
| - | |
| 753 | + | |
754 | 754 |
| |
| 755 | + | |
| 756 | + | |
755 | 757 |
| |
756 | 758 |
| |
757 | 759 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
|
0 commit comments
Comments
(0)