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

Liangent <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
                 CC|                            |[email protected]
         Resolution|FIXED                       |---

--- Comment #6 from Liangent <[email protected]> ---
Reopening -- The solution fails on Toolserver (with a MediaWiki configured to
use replicated database). It really has two LB-configured database servers: one
for global blocking stuff and another for everything else. There's no
replication relationship between them (of course) but wfWaitForSlaves() is
misled by the server count and tries to do something then fails.

liangent@nightshade:~/code/gerrit/mediawiki/core$ php maintenance/eval.php
--wiki=zhwiki_p
> $lb = wfGetLB();

> print_r($lb->getServerInfo(0));
Array
(
    [host] => sql-s2-user
    [user] => liangent
    [password] => ********
    [dbname] => zhwiki_p
    [type] => ts
    [load] => 1
    [groupLoads] => Array
        (
            [globalblocking] => 0
        )

    [flags] => 16
)

> print_r($lb->getServerInfo(1));
Array
(
    [host] => centralauth-p.rrdb
    [user] => liangent
    [password] => ********
    [dbname] => centralauth_p
    [type] => ts
    [load] => 0
    [groupLoads] => Array
        (
            [globalblocking] => 1
        )

    [flags] => 16
)

>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to