From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Chris Sosnin <k.sosnin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org,
Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v2] iproto: add an empty body to the unprepare response
Date: Fri, 6 Mar 2020 23:39:28 +0300 [thread overview]
Message-ID: <20200306203928.7firki6q54ifyrk4@tkn_work_nb> (raw)
In-Reply-To: <91892E2F-8CEF-4461-9AF5-512016633F8A@tarantool.org>
> > Technically there are two ways to extract helpers from a 'core =
> > tarantool' test:
> >
> > * Add it to, say, test/box/box.lua and to _G.protected_globals.
> > * Add it to a separate Lua file in test/box/lua and to 'lua_libs' field
> > in test/box/suite.ini. After this you can use `require` for this
> > module in a test.
>
> This also seems like a fine solution, if we are to stick to the SOP, I will do this.
It is our process. We should follow it or at least provide strong
reasoning why we shouldn't in a particular case.
> However, I’m not sure whether this patch fixes a bug, it is stated in the code
> that there’s nothing to send in case of unprepare, perhaps it is a feature?
The issue is marked with 'bug' label.
'unprepare' is the only request, which does not contain a body. In
1.6.4-128-gf433f4b0a (see [1]) it was decided to always send a body in a
response and 'unprepare' does not fit this property. It is unexpected
behaviour and it is what we usually call a bug.
[1]: https://github.com/tarantool/tarantool/commit/f433f4b0aeab48be9b5259b6c5065091dbf07553
WBR, Alexander Turenko.
next prev parent reply other threads:[~2020-03-06 20:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-03 16:16 Chris Sosnin
2020-03-03 22:33 ` Vladislav Shpilevoy
2020-03-04 8:14 ` Chris Sosnin
2020-03-04 22:39 ` Vladislav Shpilevoy
2020-03-05 5:41 ` Kirill Yukhin
2020-03-05 8:41 ` Nikita Pettik
2020-03-06 17:27 ` Alexander Turenko
2020-03-06 19:58 ` Chris Sosnin
2020-03-06 20:39 ` Alexander Turenko [this message]
2020-03-07 22:02 ` Nikita Pettik
2020-03-08 17:13 ` Alexander Turenko
2020-03-15 15:34 ` Vladislav Shpilevoy
2020-03-17 8:04 ` Kirill Yukhin
2020-03-16 20:33 ` Konstantin Osipov
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=20200306203928.7firki6q54ifyrk4@tkn_work_nb \
--to=alexander.turenko@tarantool.org \
--cc=k.sosnin@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2] iproto: add an empty body to the unprepare response' \
/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