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

tarantool / tarantool / 16502727043
88%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2025 04:53PM 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

24 Jul 2025 04:40PM UTC coverage: 87.58% (+0.02%) from 87.56%
16502727043

push

github

Totktonada
config: set election mode from <...>.synchro_mode

The new `failover.replicasets.*.synchro_mode` option is added. Most of
the logic behind it works inside the `appoint_commit` endpoint called by
the failover coordinator. However, we also need some logic at applying a
configuration. It is added here.

If the option is `true` and the instance is not an anonymous replica,
set `box.cfg.election_mode` to `manual`, otherwise `off`. That's all.

It is a little problematic that a user is able to provide its own
`replication.election_mode` option, while we want to deduce our own
value. We need to validate that `replication.election_mode` is unset or
at least the same as the deduced value.

Part of tarantool/tarantool-ee#1369

NO_DOC=https://github.com/tarantool/doc/issues/5269
NO_CHANGELOG=added in the EE commit that fixes the issue

70713 of 124581 branches covered (56.76%)

103974 of 118719 relevant lines covered (87.58%)

1373560.46 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.72
-0.12% src/box/replication.cc
1
95.21
1.06% src/box/vy_range.c
1
90.9
-0.1% src/box/vy_scheduler.c
1
91.68
-0.11% src/lib/swim/swim.c
2
91.26
0.43% src/box/box.cc
2
84.17
-0.1% src/box/xlog.c
2
93.43
-0.39% src/box/xrow_update_field.c
2
95.45
-4.55% src/lib/json/json.h
3
92.93
-0.3% src/lib/core/fiber.c
4
92.44
-0.04% src/box/vinyl.c
Jobs
ID Job ID Ran Files Coverage
1 16502727043.1 24 Jul 2025 04:53PM UTC 511
87.58
GitHub Action Run
Source Files on build 16502727043
  • Tree
  • List 511
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a0748bea on github
  • Prev Build on master (#16499410861)
  • Next Build on master (#16523091472)
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