-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
In some cases, send unexpected may never finished, considering the following case
- post tag recv (rx_1).
- send msg failed, then post error cq1,
- In the mean time, post tag recv might also be cancelled for some reasons, so tag recv is removed, and post another error cq2.
- cq1 is processed, which will try to cancel the post tag recv(hg_core_send_input_cb()), then mark the handle as canceled, since cq2 is not processed. (complete_count(1) < expect_count(2)), so the complete upcall will not be called (hg_core_complete_op())
- then cq2 is processed, though the handle has been marked as canceled, so nothing will happen.
Then the operation will never be finished. (edited)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels