Subtask #2757
Feature #2611: mon: Single-Paxos
Subtask #2621: mon: Single-Paxos: synchronize the MonitorDBStore of oblivious monitor
Subtask #2739: mon: Single-Paxos: Sync: Synchronize the store of a drifted monitor
mon: Single-Paxos: Sync: pack chunks of the MonitorDBStore into transactions
100%
Description
Using the LevelDBStore's safe iterator, obtain the existing key/values and pack them into transactions.
These transactions should then be encoded in a bufferlist, with a lenght no greater than a predefined value tunable through a configuration parameter.
History
#1 Updated by Joao Eduardo Luis about 11 years ago
- Status changed from In Progress to 7
- % Done changed from 50 to 90
- translation missing: en.field_remaining_hours set to 0.5
Pending testing
#2 Updated by Joao Eduardo Luis about 11 years ago
- % Done changed from 90 to 100
Must still test how it behaves when we are only interested in synchronizing part of the store.
#3 Updated by Joao Eduardo Luis about 11 years ago
- Status changed from 7 to Resolved
We now synchronize the stores of two different monitors, being able to checksum the transferred contents on both sides to make sure the stores match.
If the monitor we are synchronizing against fails, we are also able to pick up the sync from another monitor without starting the whole process from scratch.
All tests, so far, have been successful.