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

tarantool / tarantool / 12280133763
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part1
DEFAULT BRANCH: master
Ran 11 Dec 2024 04:30PM UTC
Jobs 1
Files 479
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

11 Dec 2024 03:58PM UTC coverage: 85.953% (-0.003%) from 85.956%
12280133763

push

github

sergepetrenko
replication: anon replicas don't participate in elections

Fixed a bug where anonymous replicas could participate in elections or even
be chosen as a leader. It is now forbidden to configure a replica so
that `replication_anon` is `true` and `election_mode` is not `off`.
It is also now prohibited to issue PROMOTE from an anonymous replica.

Closes #10561

@TarantoolBot document
Title: changes in `replication_anon` and `election_mode` configuration
Product: Tarantool
Since: 3.3

[replication-anon] https://www.tarantool.io/ru/doc/latest/reference/configuration/#cfg-replication-replication-anon

```diff
- In order to make a replica anonymous, pass the option `replication_anon=true` to `box.cfg` and set `read_only` to `true`.
+ In order to make a replica anonymous, pass the option `replication_anon=true` to `box.cfg`, set `read_only` to `true` and `election_mode` to `off`.
```

[election_mode] https://www.tarantool.io/ru/doc/latest/reference/configuration/#cfg-replication-election-mode

For an anonymous replica, `election_mode` can only be set to `off`.

(cherry picked from commit 97616f764)

63229 of 114505 branches covered (55.22%)

40 of 41 new or added lines in 1 file covered. (97.56%)

39 existing lines in 11 files now uncovered.

94072 of 109446 relevant lines covered (85.95%)

2656180.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12280133763.1 11 Dec 2024 04:30PM UTC 0
85.95
GitHub Action Run
Source Files on build 12280133763
Detailed source file information is not available for this build.
  • Back to Repo
  • 3117046e on github
  • Prev Build on release/2.11 (#12276021796)
  • Next Build on release/2.11 (#12352796548)
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