From: lvasiliev <lvasiliev@tarantool.org>
To: Eugene Leonovich <gen.work@gmail.com>,
Konstantin Osipov <kostja.osipov@gmail.com>,
alexander.turenko@tarantool.org,
tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 3/6] iproto: Add negotiation phase
Date: Thu, 26 Mar 2020 14:37:50 +0300 [thread overview]
Message-ID: <a756fe8e-3651-a2b8-2fd7-c1a1835caa35@tarantool.org> (raw)
In-Reply-To: <CADqioP3WatCGO6MdYSSH9bxD_kJcOpYjFxqV=uSh87_0WTWnew@mail.gmail.com>
On 25.03.2020 13:56, Eugene Leonovich wrote:
>
> A much simpler way to do it is to have a server switch to enable
> new features.
> It is less flexible, of course, because you can't have old and new
> clients, but do you really want to have old and new clients?
>
>
> I do agree with Kostya, I think it's a good compromise. In my humble
> opinion, the extended error feature in its current state is not worth
> the complexity and overhead it adds. Instead, why not introduce a
> Tarantool setting to choose whether you want to deal with a legacy or
> extended error response type (and it's very unlikely that someone will
> need to have 2 types at the same time). By default this setting will be
> set to use the legacy mode, then after N minor 2.x releases, it can be
> changed to use the new error type, the setting itself will be marked as
> deprecated and removed in the next major release. From a connector's
> point of view, it will also be easy to check if there are any additional
> fields in the response body, which would mean that the connector has
> received a "new" error.
>
> --
> Thank you and best regards,
> Eugene Leonovich
Hi! Thanks for the feedback.
It sounds like a soft break of the backward compatibility.
"From a connector's point of view, it will also be easy to check if
there are any additional fields in the response body, which would mean
that the connector has received a "new" error." - No, the format of a
message has been changed.
About negotiation phase - it's optional and I think it can be used for
flexible session setup in the future (not only for errors).
If you use a default settings of the session negotiation phase is absent
and don't add additional overhad.
next prev parent reply other threads:[~2020-03-26 11:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 12:45 [Tarantool-patches] [PATCH 0/6] Extending error functionality Leonid Vasiliev
2020-03-24 12:45 ` [Tarantool-patches] [PATCH 1/6] error: Add a Lua backtrace to error Leonid Vasiliev
2020-04-05 22:14 ` Vladislav Shpilevoy
2020-04-08 13:56 ` Igor Munkin
2020-03-24 12:46 ` [Tarantool-patches] [PATCH 2/6] error: Add the custom error type Leonid Vasiliev
2020-04-05 22:14 ` Vladislav Shpilevoy
2020-03-24 12:46 ` [Tarantool-patches] [PATCH 3/6] iproto: Add negotiation phase Leonid Vasiliev
2020-03-24 20:02 ` Konstantin Osipov
2020-03-25 7:35 ` lvasiliev
2020-03-25 8:42 ` Konstantin Osipov
2020-03-25 10:56 ` Eugene Leonovich
2020-03-25 11:13 ` Konstantin Osipov
2020-03-26 11:37 ` lvasiliev [this message]
2020-03-26 11:18 ` lvasiliev
2020-03-26 12:16 ` Konstantin Osipov
2020-03-26 12:54 ` Kirill Yukhin
2020-03-26 13:19 ` Konstantin Osipov
2020-03-26 13:31 ` Konstantin Osipov
2020-03-26 21:13 ` Alexander Turenko
2020-03-26 21:53 ` Alexander Turenko
2020-03-27 8:28 ` Konstantin Osipov
2020-03-26 23:35 ` Alexander Turenko
2020-03-27 8:39 ` Konstantin Osipov
2020-03-24 12:46 ` [Tarantool-patches] [PATCH 4/6] error: Add extended error transfer format Leonid Vasiliev
2020-03-24 12:46 ` [Tarantool-patches] [PATCH 5/6] error: Add test for extended error Leonid Vasiliev
2020-03-24 12:46 ` [Tarantool-patches] [PATCH 6/6] error: Transmit an error through IPROTO_OK as object Leonid Vasiliev
2020-03-27 23:11 ` [Tarantool-patches] [PATCH 0/6] Extending error functionality lvasiliev
2020-03-28 13:54 ` Alexander Turenko
2020-03-30 10:48 ` lvasiliev
2020-04-01 15:35 ` Alexander Turenko
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=a756fe8e-3651-a2b8-2fd7-c1a1835caa35@tarantool.org \
--to=lvasiliev@tarantool.org \
--cc=alexander.turenko@tarantool.org \
--cc=gen.work@gmail.com \
--cc=kostja.osipov@gmail.com \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 3/6] iproto: Add negotiation phase' \
/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