Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Vladislav Shpilevoy via Tarantool-patches
	<tarantool-patches@dev.tarantool.org>
Cc: Yan Shtunder <ya.shtunder@gmail.com>
Subject: Re: [Tarantool-patches] [PATCH v3] net.box: add predefined system events for pub/sub
Date: Tue, 15 Feb 2022 10:36:13 +0300	[thread overview]
Message-ID: <20220215073613.azediz56vk44mz7w@esperanza> (raw)
In-Reply-To: <caaa5fa0-40c4-df94-88b0-ff77b40c1fcb@tarantool.org>

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.

      reply	other threads:[~2022-02-15  7:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12  1:18 Yan Shtunder via Tarantool-patches
2022-02-12 14:48 ` Vladimir Davydov via Tarantool-patches
2022-02-14 21:35 ` Vladislav Shpilevoy via Tarantool-patches
2022-02-15  7:36   ` Vladimir Davydov via Tarantool-patches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220215073613.azediz56vk44mz7w@esperanza \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=vdavydov@tarantool.org \
    --cc=ya.shtunder@gmail.com \
    --subject='Re: [Tarantool-patches] [PATCH v3] net.box: add predefined system events for pub/sub' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox