Feature #2611: mon: Single-Paxos
mon: Single-Paxos: convert existing, old MonitorStore to a brand new MonitorDBStore
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.
#1 Updated by Joao Eduardo Luis over 10 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.