Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib @ 6d27eadd

Name Size
  db
  middleware
  pool
  singleton
__init__.py 0 Bytes
amqp.py 2.4 kB
amqp_haigha.py 10 kB
amqp_puka.py 13.9 kB
astakos.py 3.6 kB
context_processors.py 2.3 kB
dictconfig.py 22.4 kB
http_request.py 4.3 kB
ordereddict.py 4.1 kB
parsedate.py 3.5 kB
queue.py 5.1 kB
utils.py 2.5 kB

Latest revisions

# Date Author Comment
6d27eadd 10/18/2012 05:16 pm Christos Stavrakakis

Detect and handle connection problems in amqp_puka

Use the TCP keepalive feature in amqp_puka in order to detect connection
errors to the RabbitMQ broker, and retry to a different one. Also setup
the keepalive parameters to relative small values, to detect failures...

336cfa15 10/11/2012 06:58 pm Vangelis Koukis

Merge branch 'devel-0.11'

d01cd522 10/10/2012 03:19 pm Christos Stavrakakis

Various fixes about logging

Fix logging from snf-manage commands. Modify snf-manage implementation
in order to setup the loggers for all snf-manage commands. Configuration
is based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or on
basicConfig if that setting is missing....

7b2ce6b4 10/09/2012 05:08 pm Vangelis Koukis

Merge branch 'devel-0.11'

9557ea30 10/09/2012 05:01 pm Vangelis Koukis

Fix duplicate return of HTTP connection into pool

Fix duplicate return of HTTP connection into pool on duplicate
invocation of conn.close().

Revert commit b9c834003, and make sure a connection object's _pool
attribute is re-initialized whenever it is retrieved from the pool....

2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

Change eventd and dispatcher AMQP retries

Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,
since death of snf-ganeti-eventd results in loss of events.
Also increase retries of snf-dispatcher.

b537ac01 10/08/2012 11:19 am Christos Stavrakakis

Fix bug in amqp_puka

Make AMQPConnectionError an exception

00698e35 09/18/2012 10:31 am Christos Stavrakakis

Fix cleanup of DB pooled connections

Fix bug in cleanup of DB pooled connections before putting them back to
the pool. The way the connection was cleaned, resulted in mishandling of
the transactions.

Accoring to psycopg2 docs, in case of a READ COMMITED isolation level:...

702850c4 09/12/2012 01:17 pm Christos Stavrakakis

Enhange logging in db and http pools

ac7e2fd7 09/12/2012 01:16 pm Christos Stavrakakis

Fix bug in http connection pool

Do not reset connetion _pool attribute, since it is not (yet?)
initialized when getting the object from the pool.

View revisions

Also available in: Atom