[FileBackend] Clear the stat cache in doQuickOperations() for sanity.
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 17 Nov 2012 18:47:49 +0000 (10:47 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 17 Nov 2012 18:47:49 +0000 (10:47 -0800)
Change-Id: Id3fcc9b0bbb881947734edaa6799d71d9adb9881

includes/filebackend/FileBackendStore.php

index 0f435a3..fe57379 100644 (file)
@@ -1115,6 +1115,9 @@ abstract class FileBackendStore extends FileBackend {
                wfProfileIn( __METHOD__ . '-' . $this->name );
                $status = Status::newGood();
 
+               // Clear any file cache entries
+               $this->clearCache();
+
                $supportedOps = array( 'create', 'store', 'copy', 'move', 'delete', 'null' );
                $async = ( $this->parallelize === 'implicit' );
                $maxConcurrency = $this->concurrency; // throttle