~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/filtered_replicator/filtered_replicator.h

This patch adds the following functionality:

* Removes the need to manually enable replicators in order
  for an applier to work.
* Removes the enabled/disabled setting of both transaction
  applier plugins and transaction replicator plugins
* Pairs a replicator with an applier into a "ReplicationStream"
  and removes all checks for "enabled" replicators and appliers
* Allows modules that implement a TransactionApplier (such as
  the transaction_log module) to specify which replicator to
  use via a configuration variable.  For instance, the transaction
  log module now has --transaction-log-use-replicator=[default|filtered..]
  instead of the user having to do --default-replicator-enable and such
* Adds a new data dictionary table for REPLICATION_STREAMS, which
  allows querying of activated replication-to-applier streams
  managed by drizzled::ReplicationServices

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  }
65
65
 
66
66
  /**
67
 
   * Returns whether the replicator is active
68
 
   */
69
 
  virtual bool isEnabled() const;
70
 
 
71
 
  virtual void enable();
72
 
  virtual void disable();
73
 
 
74
 
  /**
75
67
   * Replicate a Transaction message to an Applier.
76
68
   *
77
69
   * @note