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

moonlibs / config / 6395745057
69%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/0.7.2
DEFAULT BRANCH: master
Ran 03 Oct 2023 04:29PM UTC
Jobs 1
Files 2
Run time 1s
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

03 Oct 2023 04:12PM UTC coverage: 68.562%. First build
6395745057

Pull #29

github

Vladislav Grubov
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
  moonlibs/config recovering behaviour.

  If master crashes but fastly restartes 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.

  This lead to situation when autofailover may change ETCD configuration
  when master is about to leave loading phase but autofailover already
  confirmed that master is "loading".

  Having method config.enforce_ro it is now possible for external
  autofailover to firstly enforce_ro of loading master and then change
  ETCD configuration and promote other candidate fixing races and
  stabilizes FSM
Pull Request #29: draft: fixes fencing and hot-reload in 2.11+

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

615 of 897 relevant lines covered (68.56%)

108.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
85.81
config/etcd.lua
29
64.96
config.lua
Jobs
ID Job ID Ran Files Coverage
1 6395745057.1 03 Oct 2023 04:30PM UTC 2
68.56
GitHub Action Run
Source Files on build 6395745057
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #29
  • Next Build on fencing (#6400163160)
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