Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity."
authorTim Starling <tstarling@wikimedia.org>
Tue, 20 Nov 2012 22:49:16 +0000 (22:49 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 20 Nov 2012 22:49:16 +0000 (22:49 +0000)
includes/filebackend/FileBackendStore.php

index f6d0b24..2d7fa07 100644 (file)
@@ -1123,6 +1123,9 @@ abstract class FileBackendStore extends FileBackend {
                // Fix up custom header name/value pairs...
                $ops = array_map( array( $this, 'stripInvalidHeadersFromOp' ), $ops );
 
+               // Clear any file cache entries
+               $this->clearCache();
+
                $supportedOps = array( 'create', 'store', 'copy', 'move', 'delete', 'null' );
                $async = ( $this->parallelize === 'implicit' );
                $maxConcurrency = $this->concurrency; // throttle