« Previous | Next » 

Revision 26837206

ID26837206812d358709b4f9962dbca9fba693d0a0

Added by Georgios D. Tsoukalas about 11 years ago

fix trasactionless query in pithos backend init

The query was submitted for execution without any prior transaction
setup, which caused:

1. psycopg2 to implicitly start a transaction
2. the new transaction to remain unknown to the sqlalchemy layer
since it was implicit
3. the pooling cleanup to think that the connection was clean
4. the backend to be pooled with a transaction active

Refs: #3580

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences