| Commit | Date | |
|---|---|---|
| 2006-09-28 15:34:44 | Tree | |
|
[r3798]
by
cboos
Make the connection pool robust when the server uses a thread pool. In a multi-threaded server, when a request is finished and `shutdown(tid)` is called, there might still exist some !PooledConnection objects for this `tid` which are not yet collected at this point. In the event the thread gets reused (*) and acquires again a connection from the pool, a new connection will be created and stored in the `_active[tid]` entry. The old !PooledConnection objects will therefore have a different cnx, and this is why the `assert` used to fail. With this change, we simply acknowledge the fact that this can happen. Also, when this happens, there's no need to take special action as the "old" connection has already been closed during `shutdown(tid)`. Related to #3504. (*) even without a thread pool this could happen if the OS reuses the thread `tid` for a new thread. But in this case, the likelihood for having uncollected !PooledConnection with this `tid` still around seems to be low... |
2006-09-27 14:19:03 | Tree |
| 2006-09-27 11:17:12 | Tree | |
| 2006-09-27 06:31:02 | Tree | |
| 2006-09-26 16:28:06 | Tree | |
|
[r3794]
by
cboos
Fix caching of deletion changes, when there are multiple delete events for the same base file. Closes #3778. |
2006-09-26 14:59:32 | Tree |
| 2006-09-26 13:18:24 | Tree | |
|
[r3792]
by
mgood
make parsing of password files more tolerant of incorrectly formatted lines (fixes #3786) |
2006-09-26 04:12:21 | Tree |
| 2006-09-25 19:29:51 | Tree | |
| 2006-09-25 07:55:58 | Tree |