[Tarantool-patches] [PATCH] replication: stop pushing TimedOut error to the replica

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 9 13:41:51 MSK 2021


On Fri, Jul 09, 2021 at 11:30:20AM +0300, Serge Petrenko wrote:
> 
> Thanks! No problem, will rework.
> It might be better to not allocate any string at all.
> I can simply allocate the needed buffer on the region (where the msgpack
> will be encoded), and encode the string header, and leave the
> buffer with whatever contents it has (it'll probably be filled
> with 0x50 bytes, it's the slab poison symbol).

Cool, good idea!


More information about the Tarantool-patches mailing list