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

tarantool / tarantool / 11143512634
88%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2024 12:21PM UTC
Jobs 1
Files 515
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

02 Oct 2024 12:10PM UTC coverage: 87.261% (-0.02%) from 87.282%
11143512634

push

github

Totktonada
config: use failover priorities in leader selection

Closes #10552

@TarantoolBot document
Title: Use priorities when bootstrapping replica in supervised mode

Now, when working in `replication.failover = supervised` mode the
instance priorities specified in the
`failover.replicasets.<replicaset-name>.priority` section are used
to select the bootstrap leader when using `bootstrap_strategy: auto`.
The replica with the highest priority is chosen as a bootstrap leader.
If there are more than one instance with the highest priority the first
one sorted by name alphabetically is chosen.

Example:
```yaml
replication:
  failover: supervised
failover:
  replicasets:
    replicaset-001:
      priority:
        instance-002: 5
        instance-003: -3
        instance-004: 5
```
Setting up the config like this will make Tarantool choose
`instance-002` as the bootstrap leader.

69047 of 122807 branches covered (56.22%)

101804 of 116666 relevant lines covered (87.26%)

2517176.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11143512634.1 02 Oct 2024 12:21PM UTC 0
87.26
GitHub Action Run
Source Files on build 11143512634
Detailed source file information is not available for this build.
  • Back to Repo
  • 2eee236f on github
  • Prev Build on master (#11142749300)
  • Next Build on master (#11159228399)
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