Project

General

Profile

Subtask #2622

Feature #2611: mon: Single-Paxos

mon: Single-Paxos: convert existing, old MonitorStore to a brand new MonitorDBStore

Added by Joao Eduardo Luis almost 12 years ago. Updated about 11 years ago.

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

0%

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

Description

The new monitor design does not support the old MonitorStore, nor does it store the versions and their values in the same way. Thus, firing up a monitor and trying to use an old version of the store is recipe for disaster.

We need a tool to convert from the old store design to the new one, and only then fire up the monitors.

History

#1 Updated by Joao Eduardo Luis about 11 years ago

  • Status changed from New to Resolved

This was implemented both as an offline tool as well as integrated in ceph-mon. The ceph-mon will attempt to open the leveldb store at first and, if finds none, will create a new store and populate it with the contents of the existing MonitorStore.

This process does not affect the existing MonitorStore, and there's no data-loss.

Also available in: Atom PDF