Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCP/RNDV: Don't complete operation from CANCEL if RTS wasn't sent #233

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

@dmitrygx
Copy link
Author

Passed 4 iterations successfully.
Waiting for more iterations to pass.

@dmitrygx
Copy link
Author

it passed 20 more iterations successfully

@dmitrygx
Copy link
Author

@yosefe could you review pls?

@@ -422,8 +422,6 @@ void ucp_tag_rndv_cancel(ucp_request_t *sreq)
if (!(sreq->send.ep->flags & UCP_EP_FLAG_REMOTE_CONNECTED)) {
if (sreq->flags & UCP_REQUEST_FLAG_RNDV_RTS_SENT) {
ucp_rndv_req_add_to_cancelled_list(sreq, UCS_ERR_CANCELED);
} else {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is this operation completed if rts is not sent?
is it still on pending queue in this case?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add code comment

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is this operation completed if rts is not sent?

it will be completed during pending purge

is it still on pending queue in this case?

yes, it is still in the pending queue, and it will be removed when purging

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add code comment

done

@yosefe yosefe merged commit 02af910 into yosefe:integration3 Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants