lp:~jaypipes/drizzle/xa-storage-engine

Created by Jay Pipes and last modified
Get this branch:
bzr branch lp:~jaypipes/drizzle/xa-storage-engine
Only Jay Pipes can upload to this branch. If you are Jay Pipes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jay Pipes
Project:
Drizzle
Status:
Merged

Recent revisions

1292. By Jay Pipes <jpipes@serialcoder>

fix for include.am having non-existent transaction_context.cc

1291. By Jay Pipes <jpipes@serialcoder>

One more merge conflict...

1290. By Jay Pipes <jpipes@serialcoder>

Fix missing files in include.am after merging trunk.

1289. By Jay Pipes <jpipes@serialcoder>

Merge trunk and resolve conflicts

1288. By Jay Pipes <jpipes@serialcoder>

This patch completes the first step in the splitting of
the XA resource manager API from the storage engine API,
as outlined in the specification here:

http://drizzle.org/wiki/XaStorageEngine

* Splits plugin::StorageEngine into a base StorageEngine
  class and two derived classes, TransactionalStorageEngine
  and XaStorageEngine. XaStorageEngine derives from
  TransactionalStorageEngine and creates the XA Resource
  Manager API for storage engines.

  - The methods moved from StorageEngine to TransactionalStorageEngine
    include releaseTemporaryLatches(), startConsistentSnapshot(),
    commit(), rollback(), setSavepoint(), releaseSavepoint(),
    rollbackToSavepoint() and hasTwoPhaseCommit()
  - The methods moved from StorageEngine to XaStorageEngine
    include recover(), commitXid(), rollbackXid(), and prepare()

* Places all static "EngineVector"s into their proper
  namespaces (typedefs belong in header files, not implementation files)
  and places all static methods corresponding
  to either only transactional engines or only XA engines
  into their respective files in /drizzled/plugin/

* Modifies the InnoDB "handler" files to extend plugin::XaStorageEngine
  and not plugin::StorageEngine

The next step, as outlined in the wiki spec page above, is to isolate
the XA Resource Manager API into its own plugin class and modify
plugin::XaStorageEngine to implement plugin::XaResourceManager via
composition. This is necessary to enable building plugins which can
participate in an XA transaction *without having to have that plugin
implement the entire storage engine API*

1287. By Jay Pipes <jpipes@serialcoder>

Merge trunk

1286. By Jay Pipes <jpipes@serialcoder>

Style cleanup around TransactionContext::modified_non_trans_table and dead code removal

1285. By Jay Pipes <jpipes@serialcoder>

Cleanup style and documentation for ResourceContext and setTransactionReadWrite

1284. By Jay Pipes <jpipes@serialcoder>

Merge trunk changes and resolve conflicts

1283. By Jay Pipes <jpipes@serialcoder>

* Renames Ha_trx_info to drizzled::ResourceContext
* Renames Sesssion_TRANS to drizzled::TransactionContext
* Replaces homegrown linked-lists of Ha_trx_info pointers
  with vector<drizzled::ResourceContext> operations
* Renames Session::getEngineInfo() to Session::getResourceContext()

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~drizzle-trunk/drizzle/development
This branch contains Public information 
Everyone can see this information.

Subscribers