[Tarantool-patches] [PATCH v2 1/1] iproto: don't destroy a session during disconnect

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Nov 17 23:33:22 MSK 2019


Ok, will do tomorrow. Kirill, please, don't push anything.

On 17/11/2019 18:49, Konstantin Osipov wrote:
> * Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/11/17 20:44]:
>> But I could replace both flags with a 'state':
>> IPROTO_CON_ALIVE -> IPROTO_CON_CLOSED -> IPROTO_CON_PENDING_DESTROY,
>> IPROTO_CON_DESTROYED.
>>
>> Alive is an initial state. Closed is when the socket dies and
>> disconnect is sent to TX. Pending destroy is an optional state,
>> equivalent of do_destroy_on_close. Destroyed is an equivalent of
>> is_destroy_sent.
>>
>> If you think this is better, I can do that.
>>
> 
> I think it's better.
> 
> 


More information about the Tarantool-patches mailing list