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

tarantool / tarantool / 11793670839
88%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2024 08:59AM UTC
Jobs 1
Files 516
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

12 Nov 2024 08:44AM UTC coverage: 87.301% (+0.005%) from 87.296%
11793670839

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.

69338 of 123168 branches covered (56.3%)

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

32 existing lines in 11 files now uncovered.

102184 of 117048 relevant lines covered (87.3%)

2895204.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11793670839.1 12 Nov 2024 08:59AM UTC 0
87.3
GitHub Action Run
Source Files on build 11793670839
Detailed source file information is not available for this build.
  • Back to Repo
  • 97ec171f on github
  • Prev Build on master (#11719641795)
  • Next Build on master (#11795647383)
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