Statistics
| Branch: | Tag: | Revision:

root / snf-common @ 5f6ad491

Name Size
  docs
  synnefo
COPYRIGHT 1.4 kB
Changelog 585 Bytes
MANIFEST.in 53 Bytes
README 82 Bytes
distribute_setup.py 15.4 kB
setup.py 3.1 kB

Latest revisions

# Date Author Comment
5f6ad491 09/27/2012 03:59 pm 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:...

d2f3853b 09/27/2012 03:59 pm Christos Stavrakakis

Fix broken logging

Rename LOGGING setup to LOGGING_SETUP, as this name is required by
the LoggingConfigMiddleware. Django's default LOGGING setting can
be used with Django>=1.3

Also change default handler to 'console' and add a more verbose format.

e66c7993 09/27/2012 03:59 pm Georgios D. Tsoukalas

don't take mutex for cleanup

a8935947 09/27/2012 03:59 pm Georgios D. Tsoukalas

Enhance pooling API, implementation, and tests

- Verify objects (new and old) with a hook _pool_verify.
Discard objects from the pool that fail verification.
A newly created object failing verification is fatal.

- Remove all hooks from the pool set access critical section....

fb02390b 09/27/2012 03:59 pm Georgios D. Tsoukalas

complete some functionality

d8fe0948 09/27/2012 03:59 pm Georgios D. Tsoukalas

port pooled psycopg2 to new pool api

c156d23a 09/27/2012 03:59 pm Georgios D. Tsoukalas

remove obsolete kwarg verify

b9c83400 09/27/2012 03:59 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.

68453d22 09/27/2012 03:59 pm Christos Stavrakakis

Enhange logging in db and http pools

db2eb7c8 09/07/2012 05:36 pm Dimitris Aragiorgis

Remove add_reserved_ips from rapi client

In order to be compatible with grnet and upstream ganeti

Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom