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

tarantool / tarantool / 11874 / 3
82%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fmt-util-2
DEFAULT BRANCH: master
Ran 20 Apr 2018 01:38PM UTC
Files 295
Run time 16s
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 Apr 2018 12:14PM UTC coverage: 81.429% (-0.1%) from 81.525%
TARGET=coverage

push

travis-ci

Gerold103
session: introduce binary box.session.push

Box.session.push() allows to send a message to a client with no
finishing a main request.

Tarantool after this patch supports pushes over binary protocol.

IProto message is encoded using a new header code - IPROTO_CHUNK.
TX thread to notify IProto thread about new data in obuf sends
a message 'push_msg'. IProto thread, got this message, notifies
libev about new data, and then sends 'push_msg' back with
updated write position. TX thread, received the message back,
updates its version of a write position. If IProto would not send
a write position, then TX would write to the same obuf again and
again, because it can not know that IProto already flushed
another obuf.

To avoid multiple 'push_msg' in fly between IProto and TX, the
only one 'push_msg' per connection is used. To deliver pushes,
appeared when 'push_msg' was in fly, TX thread sets a flag every
time when sees, that 'push_msg' is sent, and there is a new push.
When 'push_msg' returns, it checks this flag, and if it is set,
the IProto is notified again.

Closes #2677

38336 of 47079 relevant lines covered (81.43%)

899828.47 hits per line

Source Files on job 11874.3 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 263
  • Source Changed 4
  • Coverage Changed 263
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10922
  • Travis Job 11874.3
  • 2e889947 on github
  • Prev Job for TARGET=coverage on gh-2677-box-session-push (#11870.3)
  • Next Job for TARGET=coverage on gh-2677-box-session-push (#12258.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc