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

tarantool / tarantool / 5276409166
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fmt-util-2
DEFAULT BRANCH: master
Ran 15 Jun 2023 08:31AM UTC
Jobs 1
Files 476
Run time 13s
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

15 Jun 2023 08:09AM UTC coverage: 85.69% (+0.02%) from 85.674%
5276409166

push

github

locker
xrow: ignore unknown IPROTO keys on decode

The xrow_decode_* functions are written in such a way that they ignore
unknown IPROTO keys. This is required for connectivity between different
Tarantool version. However, there's bug in the code connected with the
value type checking: we fail if the key is >= iproto_key_MAX. This
worked fine as long as we added new IPROTO keys in the middle of the key
space, without bumping iproto_key_MAX, but this assumption broke when we
added IPROTO_AUTH_TYPE. The issue is exacerbated by the fact that
IPROTO_AUTH_TYPE is used by IPROTO_ID, which is sent unconditionally on
connect. Let's fix the value type check and add some tests.

Notes:
 - xrow_decode_heartbeat turns out to be unused. Drop it.
 - Fix the net.box helpers response_body_decode and netbox_decode_table
   to handle unknown keys and empty body. This is needed to properly
   decode a response to an injection in tests.
 - Testing unknown keys in replication requests would be complicated.
   Instead we add a bunch of unit tests.
 - Convert the xrow unit test to TAP.

Closes #8745

NO_DOC=bug fix

(cherry picked from commit ee0660b83)

62067 of 114088 branches covered (54.4%)

93076 of 108619 relevant lines covered (85.69%)

3031755.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5276409166.1 15 Jun 2023 08:31AM UTC 0
85.69
GitHub Action Run
Source Files on build 5276409166
Detailed source file information is not available for this build.
  • Back to Repo
  • b6e31b42 on github
  • Prev Build on release/2.11 (#5259715056)
  • Next Build on release/2.11 (#5276835323)
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