Source

trac-ticketlinks / trac / db / pool.py

Author Commit Message Labels Comments Date
cboos
0.12.3dev: for db connection errors, also show the error in clear text for Python 2.4 (follow-up to r10461).
Branches
0.12-stable
cboos
0.12.2dev: `TimeoutError` shows original error on the same line (improve debugging of #9916)
Branches
0.12-stable
cboos
0.12.1dev: more robust deferred operations when taking a connection from the pool.
Branches
0.12-stable
cboos
db: forgot to pass the cnx to close, in the deferred close operation.
Branches
0.12-stable
cboos
pool: when taking or returning a Connection, don't do any potentially lenghty operation with the lock held.
Branches
0.12-stable
cboos
db: fair attribution of Connections
Branches
0.12-stable
rblank
util: Moved concurrency utilities out of `trac.util` and into a separate module `trac.util.concurrency` to avoid circular dependencies.
Branches
trunk
rblank
db: Allow nesting `with_transaction()` without having to pass the database connection explicitly.
Branches
trunk
cboos
Follow-up to [9057:9059]: `ConnectionWrapper` is simply used to proxy undefined methods to the wrapped connection.
Branches
trunk
rblank
0.12dev: Fixed double-wrapping of cursors from `PooledConnection` in `IterableCursor`.
Branches
trunk
cboos
0.12dev: merged r8213 (optional `[trac] debug_sql` logging of SQL statements)
Branches
trunk
jonas
Merged [7889] from 0.11-stable.
Branches
trunk
jonas
trunk: Merged fix for #3645 ([7567]) from 0.11-stable.
Branches
trunk
jonas
Backported fix for #4465 ([7537]) from 0.11-stable.
Branches
trunk
cboos
A DB pool `shutdown()` must close all the connections, including those just created.
Branches
trunk
jonas
A new process-wide db connection pool.
Branches
trunk
cboos
Follow-up to r6991 (add missing import)
Branches
trunk
jruigrok
Use the proper incantation for _().
Branches
trunk
cboos
Oops, revert debug code that accidently slipped in r4679...
Branches
trunk
cboos
Refactoring of r4677 and take into account special plural of ''copy''
Branches
trunk
cboos
Database connection pool: preferably reuse inactive Connection in the thread in which they were last used.
Branches
trunk
cboos
Database connection pool: like r3929, another critical follow-up to r3921.
Branches
trunk
cboos
Database connection pool: critical follow-up to r3920.
Branches
trunk
cboos
Reverting r2771: I don't think that we could return two different connections for the same thread, and there's a documented scenario in which ''not'' using a RLock leads to a deadlock (see #3923).
Branches
trunk
cboos
Database connection pool: check whether the timeout period is elapsed before waiting again.
Branches
trunk
cboos
Database connection pool: more robust code in case the connection becomes stale.
Branches
trunk
cboos
Database connection pool: some cleanups and use an assert instead of a test for something that shouldn't happen...
Branches
trunk
cboos
Make the connection pool robust when the server uses a thread pool.
Branches
trunk
cboos
Follow-up to r3763, which was not 100% correct. Hopefully the final word on #3504...
Branches
trunk
cboos
Follow-up to r3756: make the !ConnectionPool really thread-safe by tracking in the !PooledConnection instance the thread which created it. Should fix #3504.
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. Next