ucx
ucx copied to clipboard
UCP/WIREUP: Ensure doing KA for non-p2p lane when resolving ID
What
Ensure doing KA for non-p2p lane when resolving ID.
Why ?
In case of CONNECT_TO_WORKER and error-handling mode, UCP endpoint resolves EP ID and replaces UCT EP by Wireup EP. And if the lane is non-p2p (i.e. connected remotely as CONNECT_TO_IFACE), need to ensure that keepalive is done. If the lane is p2p, keepalive is done on auxiliary EP. (found during code review)
How ?
Update ucp_wireup_connect_remote to call ucp_wireup_ep_remote_connected for UCT EP if it is non-p2p lane.
@hoopoepg @evgeny-leksikov could you review pls?
@brminich could you review pls if have time?