• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 39429592840
88%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2026 01:42PM UTC
Jobs 1
Files 528
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Oct 2026 01:20PM UTC coverage: 87.974% (-0.009%) from 87.983%
39429592840

push

github

sergepetrenko
iproto: API for dropping old connections

The old `box.iproto.internal.drop_connections` API was moved to
`box.iproto.drop_connections`. The function was extended to handle
the cases where we need to close only stale iproto connections that
correspond to the uris that are not being listened after the
reconfiguration.

Needed for #13172
Needed for tarantool/tarantool-ee#1660

@TarantoolBot document
Title introduce `box.iproto.drop_connections` Lua API.

Added new Lua function `box.iproto.drop_connections`, that can be used
for closing incoming iproto connections. Returns nothing on success,
throws on error. It accepts a table where all fields are optional:
 - timeout: timeout in seconds.
   Default: 3.0.
 - stale_only: boolean flag to indicate, whether we
   should close only stale connectiong, e.g. ones that correspond to
   URIs that are not being listened.
   Default: false.

```lua
box.iproto.drop_connections({timeout = timeout, stale_only = stale_only})

-- stale_only = false
box.iproto.drop_connections({timeout = timeout})

-- timeout = 3.0
box.iproto.drop_connections({stale_only = stale_only})

-- timeout = 3.0, stale_only = false
box.iproto.drop_connections()
box.iproto.drop_connections({})
```

72618 of 121585 branches covered (59.73%)

33 of 37 new or added lines in 4 files covered. (89.19%)

47 existing lines in 12 files now uncovered.

108984 of 123882 relevant lines covered (87.97%)

1412133.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
98.57
-0.83% src/box/lua/iproto.c

Coverage Regressions

Lines Coverage ∆ File
16
90.71
-0.49% src/box/box.cc
8
60.42
-5.56% src/lib/core/fio.c
4
94.15
-2.13% src/box/vy_range.c
4
89.68
-0.22% src/box/xrow.c
3
98.05
-0.19% src/box/memtx_tx.c
2
85.85
-0.07% src/box/xlog.c
2
93.05
-0.38% src/box/xrow_update_field.c
2
81.6
-0.59% src/lib/core/coio.c
2
86.9
-0.29% src/lib/core/say.c
2
91.96
-0.22% src/lib/swim/swim.c
1
92.75
0.2% src/box/vy_scheduler.c
1
90.38
-1.92% src/lib/core/trigger.cc
Jobs
ID Job ID Ran Files Coverage
1 39429592840.1 20 Oct 2026 01:42PM UTC 528
87.97
GitHub Action Run
Source Files on build 39429592840
  • Tree
  • List 528
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e1e61442 on github
  • Prev Build on master (#39427521430)
  • Next Build on master (#39446873826)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc