lp://staging/~free.ekanayaka/storm/fast-schema-check-in-resource-manager
- Get this branch:
- bzr branch lp://staging/~free.ekanayaka/storm/fast-schema-check-in-resource-manager
Branch merges
- Thomas Herve (community): Approve
- Robert Collins (community): Approve
- Diff: 0 lines
Related bugs
Related blueprints
Branch information
Recent revisions
- 450. By Guilherme Salgado
-
Add connection commit/rollback tracer hooks and use them in the TimeoutTracer
to reset connection._timeout_ tracer_ remaining_ time. [r=radix,allenap] This is to fix a bug in which the first query of a transaction could run
with no timeout set because of the _timeout_tracer_ remaining_ time left
in the connection during the previous transaction. - 449. By Free Ekanayaka
-
Merge tpc-support [f=132485] [r=stub,therve]
This branch adds support for two-phase commits, using the DB API
version 2.0 (only implemented by psycopg2 at the moment). An example
usage is:xid = Xid(0, "my-txn", "my-branch") # This models a XA-compliant transaction ID
store.begin(xid)
store.execute(...)
store.prepare()
store.commit()Or using ZStorm, just call zstorm.
set_default_ tpc("my- store", True) and ZStorm
will automatically use two-phase commit for that store when running
transaction.commit( ). In order to transparently use store.commit() and store.rollback(), without
introducing two new ad-hoc APIs (e.g. Store.tpc_commit/ Store.tpc_ rollback) ,
the code of the Connection class keeps track of whether we are in two-phase
transaction or in a regular one, and uses the raw connection's DB API
tpc_commit/tpc_rollback or commit/rollback methods accordingly. - 448. By Sidnei da Silva
-
Fix wsgi.make_app() to not make assumptions about how to consume data from whatever is returned by its inner app() call [r=sidnei, therve]
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/storm