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

tarantool / tarantool / 6095513583
88%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2023 10:02AM UTC
Jobs 1
Files 496
Run time 25s
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

06 Sep 2023 09:52AM UTC coverage: 86.387% (-0.01%) from 86.397%
6095513583

push

github

sergepetrenko
box: add "leader_name" field to the box.info.election

Prior to this patch, the table had no information about the leader
other than his id in the "leader" field. It may not be convenient for
the user to search for a name corresponding to a given id. Much more
convenient to see the leader's name in box.info.election.

Closes #8931

@TarantoolBot document
Title: Document `box.info.election`

box.info.election now contains one more field: `leader_name`: string.
There are several possible values ​​for this field:

 - `nil`, if there is no leader in a cluster.

 - `box.NULL`, if there is a leader, but he does not have a name.

 - `some string`, if there is a leader and he has a name.

Example:

```console
tarantool> box.info.election
---
- leader_idle: 0
  leader_name: node1
  state: leader
  vote: 1
  term: 3
  leader: 1
...
```

[box-info-election] https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/election/

64233 of 115873 branches covered (0.0%)

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

96077 of 111217 relevant lines covered (86.39%)

2641616.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6095513583.1 06 Sep 2023 10:02AM UTC 0
86.39
GitHub Action Run
Source Files on build 6095513583
Detailed source file information is not available for this build.
  • Back to Repo
  • 307f3c5b on github
  • Prev Build on master (#6095120855)
  • Next Build on master (#6108628822)
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