A debug message
authorPlatonides <platonides@users.mediawiki.org>
Sat, 25 Dec 2010 21:38:13 +0000 (21:38 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 25 Dec 2010 21:38:13 +0000 (21:38 +0000)
maintenance/purgeStaleMemcachedText.php

index df9c361..c051b3e 100644 (file)
@@ -11,6 +11,8 @@ function purgeStaleMemcachedText() {
                array( 'ORDER BY' => 'rc_timestamp DESC' ) );
        $latestReplicatedTextId -= 100; # A bit of paranoia
 
+       echo "Going to purge text entries from $latestReplicatedTextId to $maxTextId\n";
+
        for ( $i = $latestReplicatedTextId; $i < $maxTextId; $i++ ) {
                $key = wfMemcKey( 'revisiontext', 'textid', $i++ );
                $wgMemc->delete( $key );