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:
8f5ce91
)
[FileBackend] Give warnings when metadata is missing from swift.
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 22 Oct 2012 17:41:43 +0000
(10:41 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 22 Oct 2012 17:41:43 +0000
(10:41 -0700)
Change-Id: I2ec2429c5fca02fbd8b5130b3f0db31faf6e365e
includes/filebackend/SwiftFileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/SwiftFileBackend.php
b/includes/filebackend/SwiftFileBackend.php
index
e1b0a62
..
fed496a
100644
(file)
--- a/
includes/filebackend/SwiftFileBackend.php
+++ b/
includes/filebackend/SwiftFileBackend.php
@@
-786,6
+786,7
@@
class SwiftFileBackend extends FileBackendStore {
return true; // nothing to do
}
wfProfileIn( __METHOD__ );
+ trigger_error( "$path was not stored with SHA-1 metadata.", E_USER_WARNING );
$status = Status::newGood();
$scopeLockS = $this->getScopedFileLocks( array( $path ), LockManager::LOCK_UW, $status );
if ( $status->isOK() ) {