Project

General

Profile

Actions

Subtask #2757

closed

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

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:

100%

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

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.

Actions #1

Updated by Joao Eduardo Luis almost 12 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

Actions #2

Updated by Joao Eduardo Luis over 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.

Actions #3

Updated by Joao Eduardo Luis over 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.

Actions

Also available in: Atom PDF