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:
157a8d6
)
log strange anomaly
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 26 Aug 2008 22:35:23 +0000
(22:35 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 26 Aug 2008 22:35:23 +0000
(22:35 +0000)
includes/memcached-client.php
patch
|
blob
|
history
diff --git
a/includes/memcached-client.php
b/includes/memcached-client.php
index
6bd1838
..
27bdc99
100644
(file)
--- a/
includes/memcached-client.php
+++ b/
includes/memcached-client.php
@@
-795,6
+795,11
@@
class memcached
$realkey = is_array($key) ? $key[1] : $key;
for ($tries = 0; $tries<20; $tries++)
{
+ // temp logging for strange bug
+ if( !isset($this->_buckets[$hv % $this->_bucketcount]) ) {
+ wfDebugLog( "memcached", "Invalid bucket key '". $hv % $this->_bucketcount . "' given!" );
+ continue;
+ }
$host = $this->_buckets[$hv % $this->_bucketcount];
$sock = $this->sock_to_host($host);
if (is_resource($sock)) {