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

tarantool / tarantool / 5818538909
88%

Build:
DEFAULT BRANCH: master
Ran 10 Aug 2023 08:14AM UTC
Jobs 1
Files 490
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

10 Aug 2023 08:04AM UTC coverage: 86.168% (+0.07%) from 86.102%
5818538909

push

github

locker
iproto: remove exception handling code

Getting rid of C++ exception is our long term goal. This commit removes
the exceptions from the IPROTO code as follows:

- Make iproto_set_msg_max return -1 instead of raising an exception
  on error. Update box_set_net_msg_max accordingly.
- Make box_process_auth return -1 instead of raising an exception on
  error. Move it along with box_process_vote (which never fails) to
  the extern "C" namespace.
- Remove try/catch from iproto_connection_on_input, tx_process_misc,
  tx_process_connect. Use a label instead.
- Panic instead of raising an exception on an error starting an IPROTO
  thread in iproto_init. It should be fine because the function is
  called only at startup and shouldn't normally fail.
- Remove try/catch from iproto_do_cfg_f. It turns out that this function
  never fails so we don't even need to use an error label.
- Drop iproto_do_cfg_crit and move the assertion to iproto_do_cfg
  because this function should never fail and so we don't need the
  wrapper.

After this commit, the only exception-handling piece of code left in
IPROTO is tx_process_replication. Dropping it would entail patching
replication, relay, and recovery code so it was postponed.

NO_DOC=code cleanup
NO_TEST=code cleanup
NO_CHANGELOG=code cleanup

63491 of 115082 branches covered (55.17%)

138 of 138 new or added lines in 2 files covered. (100.0%)

95164 of 110440 relevant lines covered (86.17%)

2863995.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5818538909.1 10 Aug 2023 08:14AM UTC 0
86.17
GitHub Action Run
Source Files on build 5818538909
Detailed source file information is not available for this build.
  • Back to Repo
  • 9d28d372 on github
  • Prev Build on master (#5807649746)
  • Next Build on master (#5819472567)
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