From: Kirill Yukhin <kyukhin@tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 1/1] session: remove box.session.push() 'sync'
Date: Tue, 19 May 2020 13:00:00 +0300 [thread overview]
Message-ID: <20200519100000.q7sqn3riiopxtuvv@tarantool.org> (raw)
In-Reply-To: <d759df1e9bd61e1df88a8302a4bb47aac7c65361.1588628534.git.v.shpilevoy@tarantool.org>
Hello,
On 04 май 23:42, Vladislav Shpilevoy wrote:
> Closes #4689
>
> @TarantoolBot document
> Title: box.session.push() 'sync' is deprecated
>
> box.session.push() had two parameters - data to push and 'sync'.
> The sync was a request ID with which the out of bound data should
> be pushed into a socket.
>
> This was introduced as a workaround for #3450, and is useless
> since its resolution.
>
> A user anyway can't push to different sessions, where that
> parameter could be useful. And pushing into requests of the same
> session, on the contrary, is something not really needed anywhere,
> not portable to non-binary session types (console, background),
> and is just dangerous since it is easy to add a bug here.
>
> The patch removes the parameter. Now there will be thrown a
> 'Usage' error at attempt to use 'sync' parameter. In version 2.4
> it is deprecated, prints warnings into logs, but still works. In
> 2.5 it is removed completely.
I've checked your patch into master.
--
Regards, Kirill Yukhin
prev parent reply other threads:[~2020-05-19 10:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 21:42 Vladislav Shpilevoy
2020-05-18 21:38 ` Vladislav Shpilevoy
2020-05-19 10:00 ` Kirill Yukhin [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=20200519100000.q7sqn3riiopxtuvv@tarantool.org \
--to=kyukhin@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 1/1] session: remove box.session.push() '\''sync'\''' \
/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