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

--- Comment #6 from Gregor Hagedorn <[email protected]> 2011-08-31 
20:41:52 UTC ---
(In reply to comment #5)
> You can use LBFactory_Multi even if you use a single server, multiple 
> databases
> setup. 

Not really without an example. I tried to set it up by comparison with the WMF
settings, but I am not sure how it should really be working:

$wgLBFactoryConf = array(
'class' => 'LBFactory_Multi',
'sectionsByDB' => array(
 'enwiki' => 's1',
 'ispiwiki' => 's1',
 'k2n_handbook' => 's1',
 'k2n_it' => 's1',
 'k2n_sl' => 's1',
 'k2n_wiki' => 's1',
 'liaswiki' => 's1',
 'malesiana_wiki' => 's1',
 'metawiki' => 's1',
 'nnvmwiki' => 's1',
 'onwiki' => 's1',
 'openmedia' => 's1',
 'orowiki' => 's1',
 'plantnet_terms_en' => 's1',
 'plantnet_terms_fr' => 's1',
 'plantnet_uses_en' => 's1',
 'plantnet_uses_fr' => 's1',
 'plazi_wiki' => 's1',
 'pmedwiki' => 's1',
 'rosawiki' => 's1',
 'specialmedia' => 's1',
 'specieswiki' => 's1',
 'species_fr' => 's1',
 'studienstiftungswiki' => 's1',
 'testwiki' => 's1',
 'testwiki2' => 's1',
 'wbwiki' => 's1',
 'zsm_entomology' => 's1'
),
'sectionLoads' => array('s1' => array( 'db1' => 100,),),
'serverTemplate' => array(
    'dbname'      => $wgDBname,
    'user'        => $wgDBuser,
    'password'    => $wgDBpassword,
    'type'        => 'mysql',
    'flags'       => DBO_DEFAULT,
    'max lag'     => 30,
),
'groupLoadsBySection' => array(),
'groupLoadsByDB' => array(),
'hostsByName' => array('db1'  => 'localhost',),
'externalLoads' => array(),
'masterTemplateOverrides' => array(),
'externalTemplateOverrides' => array(),
'templateOverridesByCluster' => array(),
'readOnlyBySection' => array(),
);

On the positive side: after deleting all tables, and reinitializing I note:

1. maintenance/update.php will still create the table globalimagelinks in any
wiki, not just in the central repository.

2. However, the refreshGlobalimagelinks commands, issued for all wikis, now
write links only in the repository-globalimagelinks table.

3. The images, present in the shared repo openmedia, used in
offene-naturführer.de, still report that they are not used anywhere. phpmyadmin
shows that records are present in the globalimagelink table, however.

Thus the original bug still seems to exist.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to