In SwiftFileBackend:
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 18 Jan 2012 19:57:32 +0000 (19:57 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 18 Jan 2012 19:57:32 +0000 (19:57 +0000)
commit2c6336063c6e503877af46c73ce52e148d9525ae
treea3351b11a89153cf5d8833f30278b3eae2d3c6cb
parentef9293b1b7f2863a913b38eacaab841db42ee03c
In SwiftFileBackend:
* r108944: doCleanInternal() should delete empty containers only if the container dir was given.
* Made doSecureInternal() set container permissions. Also renamed swiftProxyUser -> swiftAnonUser.
* Made doGetFileStat() respect the 'latest' parameter (using r109235).
* Fixed connTTL default and renamed it to authTTL. Also added explicit close() call to getConnection().
* Reduced RTTs in doPrepareInternal() by checking getContainer() first (which is process cached).
* Killed an RTT in doStoreInternal(), doCreateInternal(), and doCopyInternal() by using create_object(). Also cleaned up logic with regards to the destination CF_Object object fields getting preloaded before write().
* Cleanups to getLocalCopy(); only create the tmp file if get_object() succeeds to short-circuits things.
* Made getContainer() limit the container cache size for sanity.
* Simplified doDeleteInternal() code a bit.
* Renamed $destRel => $dstRel for consistency.
includes/filerepo/backend/SwiftFileBackend.php