[Tarantool-patches] [PATCH 1/1] replication: check rs uuid on subscribe process

Cyrill Gorcunov gorcunov at gmail.com
Sat May 29 01:30:07 MSK 2021


On Sat, May 29, 2021 at 12:20:46AM +0200, Vladislav Shpilevoy wrote:
> > 
> > Vlad, I didn't dive into the patch context yet but this
> > use of *two* sequential calls of tt_uuid_str() is somehow
> > suspicious. The tt_uuid_str uses single common buffer
> > for any call which means some of tt_uuid_str() result
> > will be overwritten, no?
> 
> Nope, the static buffer is cyclic.

Aha! Thanks for explanation!


More information about the Tarantool-patches mailing list