[tarantool-patches] Re: [PATCH v2 1/3] swim: store sender UUID in swim io tasks

Konstantin Osipov kostja at tarantool.org
Thu Apr 25 13:31:56 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/04/25 00:46]:
> Struct swim_task is an asynchronous task generated by the SWIM
> core and scheduled to be sent when a next EV_WRITE event appears.
> 
> It has a callback 'complete' called when the task finally sent
> its packet into the network. In this callback a next SWIM round
> step can be scheduled, or set a deadline for a ping. Usually it
> requires to know to which member the packet was sent. for this
> UUID is required, but swim_task operates by inet addresses only.
> 
> At this moment UUID necessity can be bypassed via container_of
> or via some queues, but it is not so once suspicion component is
> introduced.
> 
> The patch adds sender's UUID to struct swim_task.
OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list