Project

General

Profile

Actions

Feature #1647

closed

mon: robust bootstrap

Added by Sage Weil over 12 years ago. Updated over 12 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.

Actions #1

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 9
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (17)
  • Translation missing: en.field_position set to 10
Actions #3

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (12)
  • Translation missing: en.field_position set to 5
Actions #4

Updated by Sage Weil over 12 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
Actions #5

Updated by Sage Weil over 12 years ago

  • Target version set to v0.39
  • Translation missing: en.field_position deleted (1)
  • Translation missing: en.field_position set to 966
Actions #6

Updated by Sage Weil over 12 years ago

  • Assignee set to Sage Weil
Actions #7

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF