https://bugzilla.wikimedia.org/show_bug.cgi?id=55454

       Web browser: ---
            Bug ID: 55454
           Summary: JobQueueDB should use SqlBagOStuff for job
                    deduplication / work on vanilla MW install
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JobQueue
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gwi...@wikimedia.org
                CC: tstarl...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

In the JobQueueDB constructor, caching is basically disabled when SqlBagOStuff
is used as $wgMemc:

  // Make sure that we don't use the SQL cache, which would be harmful
  $this->cache = ( $wgMemc instanceof SqlBagOStuff ) ? new EmptyBagOStuff() :
$wgMemc;


That means that job deduplication won't work in local testing with the default
cache type. Since this is somewhat unexpected behavior it would be great if we
could remove this.

Is there still a real performance reason for disabling SqlBagOStuff in
JobQueueDB?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to