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:
09d9413
)
Fixed BloomCache handling of network partitions
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 20 Nov 2014 09:04:53 +0000
(
01:04
-0800)
committer
Ori.livneh
<ori@wikimedia.org>
Thu, 20 Nov 2014 09:11:09 +0000
(09:11 +0000)
* As documented, it should return true on error, so that DB is
checked if the filter is down.
Change-Id: I883fafc9f5f3a84f85207de6e916f1630c78d1a4
includes/cache/bloom/BloomCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/bloom/BloomCache.php
b/includes/cache/bloom/BloomCache.php
index
a15b461
..
627f4f0
100644
(file)
--- a/
includes/cache/bloom/BloomCache.php
+++ b/
includes/cache/bloom/BloomCache.php
@@
-102,7
+102,7
@@
abstract class BloomCache {
$status = $this->getStatus( $virtualKey );
if ( $status == false ) {
wfDebug( "Could not query virtual bloom filter '$virtualKey'." );
- return
null
;
+ return
true
;
}
$useFilter = call_user_func_array(