From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 0C9BA6E454; Tue, 15 Feb 2022 10:36:18 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0C9BA6E454 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1644910578; bh=zzFQlcBnTRiovqSghESMPkRgC2wk4BxUhElmESclKbU=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Cfg8t/EblmObxbcH/0DAuJnwTtkbcf5UygGasEh0ibBaVc4VFeWRmVWzR1RzxiD5P PbVdLukNXgIYoAFHrI+mdKk0PeIlYxAf4V3RLP6Eoe5SBPY6QWynI8NE9WiBoXPiri 2vicLcndNwxpl9vxIdEV/gFv1uUHI6gRJv5BgQcQ= Received: from smtpng2.i.mail.ru (smtpng2.i.mail.ru [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 326026E454 for ; Tue, 15 Feb 2022 10:36:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 326026E454 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1nJsNi-00064p-Jp; Tue, 15 Feb 2022 10:36:14 +0300 Date: Tue, 15 Feb 2022 10:36:13 +0300 To: Vladislav Shpilevoy via Tarantool-patches Cc: Yan Shtunder Message-ID: <20220215073613.azediz56vk44mz7w@esperanza> References: <20220212011803.80185-1-ya.shtunder@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD98523E388497A00481F69DCA4510225BFADB0E283F45533C1182A05F538085040A2798DEAFF8F9BF681DE494DBA1661A233628D639D471A1DFB97A485B8966906 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7AD2F2D6F6013FF7FC2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7F544D30F1A6FA191EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BEBC5CAB6D411FFA6983C8547C628EAB1C30310EC98DD4BA4CC7F00164DA146DAFE8445B8C89999728AA50765F7900637D0FEED2715E18529389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8D2DCF9CF1F528DBCF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8BEBEE3B39F980227375ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 0D63561A33F958A56CCB044551A8ABE48968F9880356E8237055F9CB5EEFBB94D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA754D8E939D8DBE9AFC410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349C39CCCDAABCB54B00DE0C30D65EA58B714FB530EF2E0040E73AA905C31139AF12317BAAB5A2E66E1D7E09C32AA3244C3FBE63AAAC5284715C79622658B99E3C8894E9C85370243EFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojdfoZgSqWjBQNcogr7k3C4g== X-Mailru-Sender: 689FA8AB762F739339CABD9B3CA9A7D6B6D82421B59A768CB1E88E0E245D2949274CEFED1673C562683ABF942079399BFB559BB5D741EB966A65DFF43FF7BE03240331F90058701C5FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v3] net.box: add predefined system events for pub/sub X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladimir Davydov via Tarantool-patches Reply-To: Vladimir Davydov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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.