Created by James Henstridge on 2012-08-10 and last modified on 2012-08-10
Get this branch:
bzr branch lp:~jamesh/storm/initialize-globals
Only James Henstridge can upload to this branch. If you are James Henstridge please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

James Henstridge

Recent revisions

452. By James Henstridge on 2012-08-10

Print the traceback as well as a stack trace.

451. By James Henstridge on 2012-08-10

Adjust initialize_globals() to print a stack trace if it fails to help
track down failures.

450. By Guilherme Salgado on 2012-06-28

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 on 2012-06-12

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

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

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 on 2012-06-04

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]

447. By James Henstridge on 2012-05-31

If initialize_globals() fails on the first call, make it fail on
subsequent calls too.
[r=free.ekanayaka, therve] [f=1006284]

446. By Free Ekanayaka on 2012-05-28

Provide the IZStorm utility before applying patches, to make it available to them [trivial] [r=therve]

445. By Thomas Herve on 2012-04-27

Merge psycopg2-2.4-pgbouncer [a=wgrant] [r=stub,therve] [f=959699]

Catch DatabaseError on to check for disconnection error, fixing a problem with
pgbouncer and psycopg2 2.4.

444. By Thomas Herve on 2012-04-06

Add missing groupr_by statement to EmptyResultSet [a=ack] [r=therve] [trivial]

443. By Thomas Herve on 2012-04-06

Call upgrade in ZStormResourceManager when getting UnknownPatchError instead of
create [trivial] [r=free.ekayanaka]

Branch metadata

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