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

tarantool / tarantool / 11870
82%
master: 88%

Build:
Build:
LAST BUILD BRANCH: tntp-5924-b1
DEFAULT BRANCH: master
Ran 19 Apr 2018 11:13PM UTC
Jobs 1
Files 295
Run time 15s
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

pending completion
11870

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

38381 of 47079 relevant lines covered (81.52%)

893359.57 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11870.3 (TARGET=coverage) 19 Apr 2018 11:13PM UTC 0
81.52
Travis Job 11870.3
Source Files on build 11870
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11870
  • c9dc291f on github
  • Next Build on gh-2677-box-session-push (#11874)
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