forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8476bb6
Use appropriate wait event when sending data in the apply worker.
Currently, we reuse WAIT_EVENT_LOGICAL_PARALLEL_APPLY_STATE_CHANGE in theapply worker while sending data to the parallel apply worker via a sharedmemory queue. This is not appropriate as one won't be able to distinguishwhether the worker is waiting for sending data or for the state change.To patch instead uses the wait event WAIT_EVENT_MQ_SEND which has beenalready used in blocking mode while sending data via a shared memoryqueue.Author: Hou ZhijieReviewed-by: Kuroda Hayato, Amit KapilaDiscussion:https://postgr.es/m/OS0PR01MB57161C680B22E4C591628EE994DA9@OS0PR01MB5716.jpnprd01.prod.outlook.com1 parent5717681 commit8476bb6
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1181 | 1181 |
| |
1182 | 1182 |
| |
1183 | 1183 |
| |
1184 |
| - | |
1185 |
| - | |
| 1184 | + | |
1186 | 1185 |
| |
1187 | 1186 |
| |
1188 | 1187 |
| |
|
0 commit comments
Comments
(0)