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

tarantool / tarantool / 11795255998
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix-test-dir-for-gitlab-ci
DEFAULT BRANCH: master
Ran 12 Nov 2024 10:35AM UTC
Jobs 1
Files 514
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

12 Nov 2024 10:21AM UTC coverage: 87.277% (+0.02%) from 87.256%
11795255998

push

github

sergepetrenko
box: make bootstrap_leader cfg option dynamic

bootstrap_leader configuration option only takes effect during instance
bootstrap. For this reason, the option was made static. One can't change
the bootstrap_leader after initial box.cfg() call.

So when a user has bootstrap_strategy = 'config' and joins new nodes
during replicaset lifespan, he ends up with instances having different
`bootstrap_leader` configuration, depending on which node was writable
at the moment of each instance bootstrap.

It would be better to have matching configuration on each replica
set member with no exceptions and to be able to set bootstrap_leader to
the same value on all the instances of the replica set, even on the ones
which are already bootstrapped.

Let's allow changing `bootstrap_leader` option even though it affects
nothing.

While we're at it, fix a memory leak of bootstrap leader uri on
tarantool shutdown.

Closes #10604

@TarantoolBot document
Title: clarify `bootstrap_leader` configuration option meaning

The option `bootstrap_leader` is dynamic, but it's important to note
that changing it after instance bootstrap affects nothing. It's left
dynamic simply for the sake of centralized configuration, when it's
preferable to have matching configurations on all instances of a replica
set.

(cherry picked from commit 97ec171f5)

68535 of 121750 branches covered (56.29%)

9 of 9 new or added lines in 3 files covered. (100.0%)

28 existing lines in 12 files now uncovered.

101156 of 115902 relevant lines covered (87.28%)

2679575.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11795255998.1 12 Nov 2024 10:35AM UTC 0
87.28
GitHub Action Run
Source Files on build 11795255998
Detailed source file information is not available for this build.
  • Back to Repo
  • 92f386c2 on github
  • Prev Build on release/3.2 (#11724033772)
  • Next Build on release/3.2 (#11795789287)
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