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

tarantool / crud / 43898945961
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: refs/pull/528/merge
DEFAULT BRANCH: master
Ran 16 Nov 2026 04:11PM UTC
Jobs 1
Files 77
Run time 1min
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

16 Nov 2026 03:39PM UTC coverage: 89.364% (+0.004%) from 89.36%
43898945961

Pull #526

github

locker
feat: add support for router thread group

CRUD now supports the `sharding.thread_group` configuration option,
which was introduced in Tarantool 3.10: the router module is loaded and
the router API is exported on each thread of the specified thread group
instead of the main thread. This allows scaling a CRUD router within
the same Tarantool instance.

The patch itself is relatively simple: all we need to do is load the
CRUD router module on all threads of the sharding thread group with
`threads.eval` and use `box.iproto.export` for making CRUD functions
callable over IPROTO. The only thing to notice is that `set_run_as_user`
is unavailable if router threads are used because currently Tarantool
doesn't support box.session.storage in application threads while
`set_run_as_user` depends on it.

Most of the changes done in this patch are for tests:

 - A new parameter `use_threads` is introduced for the config backend.
   If set, the CRUD router and the test application are configured to
   run on an application thread.
 - Execute privilege for `lua_call` is granted to the guest user if
   the CRUD router is running on an application thread (it's the only
   way to let a user call functions defined in application threads).
 - The Tarantool 3 server helper is patched so that eval forwards
   requests to the application thread if it's configured. This is
   done through `IPROTO_CALL` because `IPROTO_EVAL` is always routed
   to the main thread.
 - Test helpers are updated so as not to assume that `box.space` and
   `box.sequence` are tables (they are nil in application threads).
 - Tests checking `set_run_as_user` are skipped.

Closes #525
Pull Request #526: feat: add support for router thread group

4 of 4 new or added lines in 1 file covered. (100.0%)

6495 of 7268 relevant lines covered (89.36%)

10475.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43898945961.1 16 Nov 2026 04:11PM UTC 77
89.36
GitHub Action Run
Source Files on build 43898945961
  • Tree
  • List 77
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #526
  • PR Base - master (#43084154269)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc