Replication - Refactor API to include error returns and Session reference

Registered by Jay Pipes

Refactor the current replication API in the following way:

* Add a reference to the Session object as the first parameter in both TransactionReplicator::replicate() and TransactionApplier::apply()
* Return an error enumeration from both methods
* Use return error codes/enums in transaction processing code in /drizzled/transaction_services.cc
* Call replication API calls between prepare and commit of resource managers (currently only storage engines)
* Refactor TransactionServices methods to adhere to style guidelines

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
High
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

[DONE] Add a reference to the Session object as the first parameter in both TransactionReplicator::replicate() and TransactionApplier::apply()
[DONE] Return an error enumeration from both methods
[DONE] Use return error codes/enums in transaction processing code in /drizzled/transaction_services.cc
[DONE] Call replication API calls between prepare and commit of resource managers (currently only storage engines)
[DONE] Refactor TransactionServices methods to adhere to style guidelines

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.