[PATCH v7] iproto: report active connections number
Vladimir Davydov
vdavydov.dev at gmail.com
Thu Feb 28 18:31:11 MSK 2019
On Thu, Feb 28, 2019 at 05:16:27PM +0300, Ilya Kosarev wrote:
> Now there is new member in box.stat.net() called "CONNECTIONS"
> which is a number of active iproto connections.
>
> Closes #3905
>
> @TarantoolBot document
> Title: box.stat.net
> Update the documentation for box.stat.net
> to reflect the addition of the field
> which reports iproto connections number.
> ---
> https://github.com/tarantool/tarantool/tree/i.kosarev/gh-3905-report-connections-number
> https://github.com/tarantool/tarantool/issues/3905
>
> Changes in v7:
> - reduced line length in commit message
Please in future retain full change log, like this:
Changes in v7:
- reduced line length in commit message
Changes in v6:
- added docbot request to commit message
Changes in v5:
- review-based polishing
Changes in v4:
- CONNECTIONS counter doesn't have extra lua tables inside anymore
- refactoring
...
It's nice to see how the patch evolved.
>
> src/box/iproto.cc | 6 ++++++
> src/box/iproto.h | 6 ++++++
> src/box/lua/stat.c | 9 +++++++++
> test/box/stat_net.result | 37 +++++++++++++++++++++++++++++++++++++
> test/box/stat_net.test.lua | 13 +++++++++++++
> 5 files changed, 71 insertions(+)
>
Pushed to 2.1 and 1.10. Thanks!
More information about the Tarantool-patches
mailing list