[Tarantool-patches] [PATCH v3] net.box: add predefined system events for pub/sub

Vladimir Davydov vdavydov at tarantool.org
Tue Feb 15 10:36:13 MSK 2022


On Mon, Feb 14, 2022 at 10:35:37PM +0100, Vladislav Shpilevoy via Tarantool-patches wrote:
> 3. A response to Vova's comment about box_broadcast_fmt() - while I am not
> against that, I am just afraid it might not work with UUIDs. AFAIR we don't
> have a formatter for UUID or any other MP_EXT type. You can still try to use
> box_broadcast_fmt() for events having only MessagePack-native types though.
> Such as schema version and election event.

Good point. I didn't think about UUID. It'd be nice if we could use
mp_format to format MP_EXT, like this

  mp_format("%eu", &REPLICASET_UUID);

but it's probably out of the scope of this patch.


More information about the Tarantool-patches mailing list