forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf71731
committed
Handle interrupts while waiting on Append's async subplans
We did not wake up on interrupts while waiting on async events on anasync-capable append node. For example, if you tried to cancel thequery, nothing would happen until one of the async subplans becomesreadable. To fix, add WL_LATCH_SET to the WaitEventSet.Backpatch down to v14 where async Append execution was introduced.Discussion:https://www.postgresql.org/message-id/37a40570-f558-40d3-b5ea-5c2079b3b30b@iki.fi1 parentf4e7756 commitaf71731
1 file changed
+25
-3
lines changedLines changed: 25 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1031 | 1031 |
| |
1032 | 1032 |
| |
1033 | 1033 |
| |
1034 |
| - | |
| 1034 | + | |
1035 | 1035 |
| |
1036 | 1036 |
| |
1037 | 1037 |
| |
| |||
1056 | 1056 |
| |
1057 | 1057 |
| |
1058 | 1058 |
| |
1059 |
| - | |
1060 |
| - | |
| 1059 | + | |
| 1060 | + | |
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 | 1063 |
| |
| |||
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 | 1068 |
| |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1069 | 1084 |
| |
1070 | 1085 |
| |
1071 | 1086 |
| |
| |||
1107 | 1122 |
| |
1108 | 1123 |
| |
1109 | 1124 |
| |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1110 | 1132 |
| |
1111 | 1133 |
| |
1112 | 1134 |
| |
|
0 commit comments
Comments
(0)