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

bedrock-kv / bedrock / 8d0bb980c046858373ddf0c36d5bbe2198c69125-PR-326
82%
develop: 82%

Build:
Build:
LAST BUILD BRANCH: bedrock-5yi/election-flapping
DEFAULT BRANCH: develop
Ran 14 Sep 2026 07:55PM UTC
Jobs 1
Files 216
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

14 Sep 2026 07:53PM UTC coverage: 81.786% (+0.1%) from 81.661%
8d0bb980c046858373ddf0c36d5bbe2198c69125-PR-326

Pull #326

github

jallum
bedrock-w10: Recover from the durable bootstrap, not the coordinator's copy

A coordinator loaded prior_core_state from the bootstrap once, at boot, and
afterwards learned only what its own directors notified it. A follower that
later won leadership handed its Director that boot-time value: nil if it
booted before any bootstrap existed, so recovery initialized a brand new
cluster and overwrote the real bootstrap; or a retired log set, so recovery
waited forever for logs that no longer exist.

The Director now reads the bootstrap itself when recovery starts, as FDB's
recovery reads cstate first. Only an absent record means fresh; a failed
read leaves the Director starting and retrying once per second (FDB's
MASTER_SPIN_DELAY) rather than initializing. Without object storage there
is no durable record, so the coordinator's copy - now only what its own
directors notified it - still stands there. The coordinator no longer
loads a core state at boot, and its director-launch trace no longer
reports one.
Pull Request #326: bedrock-w10: recover from the durable bootstrap, not the coordinator's copy

17 of 25 new or added lines in 7 files covered. (68.0%)

2 existing lines in 2 files now uncovered.

7207 of 8812 relevant lines covered (81.79%)

1168.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
40.0
-0.82% lib/bedrock/control_plane/coordinator/server.ex
3
36.96
4.46% lib/bedrock/control_plane/director/server.ex
1
0.0
0.0% lib/bedrock/control_plane/coordinator/tracing.ex
1
81.37
0.52% lib/bedrock/control_plane/director/recovery.ex

Coverage Regressions

Lines Coverage ∆ File
1
73.56
0.0% lib/bedrock/data_plane/resolver/tree.ex
1
85.71
-2.38% lib/bedrock/object_storage/snapshot.ex
Jobs
ID Job ID Ran Files Coverage
1 8d0bb980c046858373ddf0c36d5bbe2198c69125-PR-326.1 14 Sep 2026 07:55PM UTC 216
81.79
GitHub Action Run
Source Files on build 8d0bb980c046858373ddf0c36d5bbe2198c69125-PR-326
  • Tree
  • List 216
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #326
  • PR Base - develop (#153A2B62...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc