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

tarantool / tarantool / 15534987876
88%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2025 01:07PM UTC
Jobs 1
Files 511
Run time 2min
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

09 Jun 2025 12:51PM UTC coverage: 87.533% (+0.009%) from 87.524%
15534987876

push

github

sergepetrenko
box: expose box_status C API

Make `box_status` function result available in TX thread bypassing lua
stack.

Fixes #11490

@TarantoolBot document
Title: `box_status` exposed in C API.

Added new C function `box_status`, that can be used to get the current
status of the instance. It is either "running", "loading", "orphan" or
"hot_standby" reflecting the box.info.status Lua API behavior. The
return values are:
* running – the instance is loaded
* loading – the instance is either recovering xlogs/snapshots or
  bootstrapping
* orphan – the instance has not (yet) succeeded in joining the required
  number of masters (see orphan status)
* hot_standby – the instance is standing by another instance

```C
const char * box_status(void);
```

70459 of 124207 branches covered (56.73%)

103615 of 118373 relevant lines covered (87.53%)

2778689.94 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.57
0.07% src/box/vy_run.c
1
80.0
-2.05% src/lib/core/clock.c
1
96.55
-1.15% src/lib/core/histogram.c
1
22.68
-0.02% src/lib/uri/uri_parser.c
1
74.75
-0.25% src/main.cc
2
95.84
-0.11% src/box/iproto.cc
2
89.24
-0.13% src/box/xrow.c
2
93.43
-0.36% src/box/xrow_update_field.c
2
92.93
0.01% src/lib/core/fiber.c
2
82.22
-4.44% src/lib/core/latch.h
2
97.15
0.0% src/lib/msgpuck/msgpuck.h
3
90.7
-0.22% src/box/applier.cc
3
91.7
-0.58% src/box/gc.c
4
92.49
-0.13% src/box/vinyl.c
Jobs
ID Job ID Ran Files Coverage
1 15534987876.1 09 Jun 2025 01:07PM UTC 511
87.53
GitHub Action Run
Source Files on build 15534987876
  • Tree
  • List 511
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 18f28bdf on github
  • Prev Build on master (#15464746307)
  • Next Build on master (#15535167063)
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