Replication - Refactor configuration to allow pairing of replicator and applier

Registered by Jay Pipes

Currently, in order to get anything to work properly as far as replication goes, one has to start drizzled with at least one replicator and one applier plugin enabled, like so:

drizzled --default-replicator-enable --transaction-log-enable

A more intuitive approach would be the following:

drizzled --transaction-log-enable --transaction-log-use-replicator=default

Changes needed:

1) Adapt plugin::Registry to allow plugins to register a post_load callback that would allow a plugin to search the Registry for another plugin.
2) Refactor ReplicationServices::pushTransaction() to remove the dual for loops and simply call replicator->replicate(applier) for each registered pair<Replicator, Applier>

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Medium
Drafter:
Jay Pipes
Direction:
Approved
Assignee:
Jay Pipes
Definition:
Approved
Series goal:
Accepted for cherry
Implementation:
Implemented
Milestone target:
milestone icon 2010-04-07
Started by
Jay Pipes
Completed by
Jay Pipes

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.