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

moonlibs / config
69%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/0.7.2
DEFAULT BRANCH: master
Repo Added 13 Sep 2023 10:19AM UTC
Files 2
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

LAST BUILD ON BRANCH fencing
branch: fencing
CHANGE BRANCH
x
Reset
  • fencing
  • ci
  • fix-ctl-start
  • master
  • override-config
  • refs/tags/0.7.0
  • refs/tags/0.7.1
  • refs/tags/0.7.2

04 Oct 2023 12:55AM UTC coverage: 68.778%. First build
6400164489

Pull #29

github

Vladislav Grubov
feat: support config.enforce_ro()

  * This method is needed for autofailover mechanisms mainly to enforce
    read_only=true during loading phase of tarantool.

  Before this patch race condition existed between autofailover and
  moonlibs/config recovering behaviour.

  If master crashes but fastly restarts then it initiates long running
  loading phase. Master recovers as read_only=true but after returning
  from box.cfg moonlibs/config retrieves config from ETCD and rechecks
  read_only option.

  The race happens when autofailover changes configuration in ETCD, but
  master just in time returns from loading phase and applies oldest
  configuration. This leads cluster to split-brain.

  With method config.enforce_ro it is possible for external coordinator
  firstly enforce_ro on loading leader and receive approval that leader
  will not be promoted to rw until next reload configuration.

  tarantool is enforcable to be ro only when all of the following conditions
  are met:
	1) Tarantool is recovering from snapshot (it was already
	   bootstrapped)
	2) Client's code do not override box.cfg with passing args.boxcfg
	3) args.tidy_load is enabled (default, but can be overriden by
	   client)
	4) config uses ETCD to retreive topology.
Pull Request #29: draft: fixes fencing and hot-reload in 2.11+

132 of 132 new or added lines in 2 files covered. (100.0%)

619 of 900 relevant lines covered (68.78%)

108.04 hits per line

Relevant lines Covered
Build:
Build:
900 RELEVANT LINES 619 COVERED LINES
108.04 HITS PER LINE
Source Files on fencing
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6400164489 fencing feat: support config.enforce_ro() * This method is needed for autofailover mechanisms mainly to enforce read_only=true during loading phase of tarantool. Before this patch race condition existed between autofailover and moonlibs/config... Pull #29 04 Oct 2023 12:59AM UTC Vladislav Grubov github
68.78
6400163160 fencing feat: support config.enforce_ro(true|false) * This method is needed for autofailover mechanisms mainly to enforce read_only=true during loading phase of tarantool. Before this patch race condition existed between autofailover and moonl... push 04 Oct 2023 12:59AM UTC Vladislav Grubov github
68.78
6395745057 fencing feat: support config.enforce_ro(true|false) * This method is needed for autofailover mechanisms mainly to enforce read_only=true during loading phase of tarantool. Before this patch race condition existed between autofailover and moonl... Pull #29 03 Oct 2023 04:29PM UTC Vladislav Grubov github
68.56
6171223143 fencing ci: adds publish to coveralls.io Pull #29 13 Sep 2023 10:31AM UTC Vladislav Grubov github
69.07
6171144909 fencing ci: adds publish to coveralls.io Pull #29 13 Sep 2023 10:24AM UTC Vladislav Grubov github
69.07
See All Builds (24)
  • Repo on GitHub
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

© 2025 Coveralls, Inc