From: Vladimir Davydov <vdavydov.dev@gmail.com> To: Konstantin Osipov <kostja@tarantool.org> Cc: tarantool-patches@freelists.org Subject: Re: [PATCH v3 03/11] Introduce IPROTO_REQUEST_STATUS command Date: Thu, 19 Jul 2018 11:17:52 +0300 [thread overview] Message-ID: <20180719081752.p2ddmow6dnf5725f@esperanza> (raw) In-Reply-To: <20180719071031.GC11373@chai> On Thu, Jul 19, 2018 at 10:10:31AM +0300, Konstantin Osipov wrote: > * Vladimir Davydov <vdavydov.dev@gmail.com> [18/07/14 23:50]: > > The new command is supposed to supersede IPROTO_REQUEST_VOTE, which is > > difficult to extend, because it uses the global iproto key namespace. > > The new command returns a map (IPROTO_STATUS), to which we can add > > various information without polluting the global namespace. Currently, > > the map contains IPROTO_STATUS_IS_RO and IPROTO_STATUS_VCLOCK keys, > > but soon it will be added info needed for replica rebootstrap feature. > > Would it be possible to move out struct status from xrow.h and > rename to box_status and move to box.h or some other place? Then xrow.c would have to include box.h ... > Perhaps we should remove it altogether, and simply pass multiple > members to xrow_decode_status()? There are already three members in a reply to a status request and may be more in future. Passing them all in function arguments would look cumbersome. We definitely need to group them somehow. > > Other request member combos, such as authentication or call or eval have > not leaked into xrow.h before. greeting, auth_request, call_request, request - they are all defined in xrow.h
next prev parent reply other threads:[~2018-07-19 8:17 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-14 20:49 [PATCH v3 00/11] Replica rejoin Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 01/11] recovery: clean up WAL dir scan code Vladimir Davydov 2018-07-19 7:08 ` Konstantin Osipov 2018-07-14 20:49 ` [PATCH v3 02/11] xrow: factor out function for decoding vclock Vladimir Davydov 2018-07-19 7:08 ` Konstantin Osipov 2018-07-14 20:49 ` [PATCH v3 03/11] Introduce IPROTO_REQUEST_STATUS command Vladimir Davydov 2018-07-19 7:10 ` Konstantin Osipov 2018-07-19 8:17 ` Vladimir Davydov [this message] 2018-07-21 10:25 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 04/11] Get rid of IPROTO_SERVER_IS_RO Vladimir Davydov 2018-07-19 7:10 ` Konstantin Osipov 2018-07-21 12:07 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 05/11] gc: keep track of vclocks instead of signatures Vladimir Davydov 2018-07-19 7:11 ` Konstantin Osipov 2018-07-14 20:49 ` [PATCH v3 06/11] Include oldest vclock available on the instance in IPROTO_STATUS Vladimir Davydov 2018-07-19 7:12 ` Konstantin Osipov 2018-07-21 12:07 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 07/11] replication: rebootstrap instance on startup if it fell behind Vladimir Davydov 2018-07-19 7:19 ` Konstantin Osipov 2018-07-19 10:04 ` Vladimir Davydov 2018-07-23 20:19 ` Konstantin Osipov 2018-07-27 16:13 ` [PATCH] replication: print master uuid when (re)bootstrapping Vladimir Davydov 2018-07-31 8:34 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 08/11] vinyl: simplify vylog recovery from backup Vladimir Davydov 2018-07-31 8:21 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 09/11] vinyl: pass flags to vy_recovery_new Vladimir Davydov 2018-07-21 11:12 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 10/11] Update test-run Vladimir Davydov 2018-07-21 11:13 ` Vladimir Davydov 2018-07-14 20:49 ` [PATCH v3 11/11] vinyl: implement rebootstrap support Vladimir Davydov 2018-07-31 8:23 ` Vladimir Davydov
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=20180719081752.p2ddmow6dnf5725f@esperanza \ --to=vdavydov.dev@gmail.com \ --cc=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [PATCH v3 03/11] Introduce IPROTO_REQUEST_STATUS command' \ /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