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

tarantool / tarantool / 11874
82%
master: 88%

Build:
Build:
LAST BUILD BRANCH: tntp-5924-b1
DEFAULT BRANCH: master
Ran 20 Apr 2018 01:38PM UTC
Jobs 1
Files 295
Run time 18s
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
11874

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

Jobs
ID Job ID Ran Files Coverage
3 11874.3 (TARGET=coverage) 20 Apr 2018 01:38PM UTC 0
81.43
Travis Job 11874.3
Source Files on build 11874
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11874
  • 2e889947 on github
  • Prev Build on gh-2677-box-session-push (#11870)
  • Next Build on gh-2677-box-session-push (#12258)
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