Project

General

Profile

Feature #1647

mon: robust bootstrap

Added by Sage Weil almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Monitor
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently mkfs looks like:

- create initial states on each monitor independently
- start them up and they'll form a quorum and go from there.

Instead, we want to

- seed each mon with the mon. key and some initial keys
- on startup, look for an existing quorum. if it exists, sync committed stuff and then join.
- if quorum does not exist, try to form a new one.
- once a quorum is formed, if there is no initial state, create it using the seed data.

Or something along those lines. I suspect we need to take a hard look at how the election stuff currently works so that new monitors can discover each other without disrupting an existing active quorum, and form a new quorom with a subset of the live nodes. Currently the assumption is that alive => will join quorum, which isn't quite what we want.

This will enable a robust parallel mkfs/bootstrap driven by chef/whatever without any ordering requirements.

History

#1 Updated by Sage Weil almost 10 years ago

  • translation missing: en.field_position set to 9

#2 Updated by Sage Weil almost 10 years ago

  • translation missing: en.field_position deleted (17)
  • translation missing: en.field_position set to 10

#3 Updated by Sage Weil almost 10 years ago

  • translation missing: en.field_position deleted (12)
  • translation missing: en.field_position set to 5

#4 Updated by Sage Weil almost 10 years ago

  • translation missing: en.field_story_points set to 5
  • translation missing: en.field_position deleted (4)
  • translation missing: en.field_position set to 3

#5 Updated by Sage Weil almost 10 years ago

  • Target version set to v0.39
  • translation missing: en.field_position deleted (1)
  • translation missing: en.field_position set to 966

#6 Updated by Sage Weil over 9 years ago

  • Assignee set to Sage Weil

#7 Updated by Sage Weil over 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF