dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e68ac
)
[FileBackend] Clear the stat cache in doQuickOperations() for sanity.
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 17 Nov 2012 18:47:49 +0000
(10:47 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 17 Nov 2012 18:47:49 +0000
(10:47 -0800)
Change-Id: Id3fcc9b0bbb881947734edaa6799d71d9adb9881
includes/filebackend/FileBackendStore.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/FileBackendStore.php
b/includes/filebackend/FileBackendStore.php
index
0f435a3
..
fe57379
100644
(file)
--- a/
includes/filebackend/FileBackendStore.php
+++ b/
includes/filebackend/FileBackendStore.php
@@
-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