Page MenuHomePhabricator

Mismatch between topology and replication in codfw s1
Closed, ResolvedPublic

Description

Right now, orch says the primary of s1 in codfw is db2103:

image.png (1,848×968 px, 276 KB)

But codfw.json says the primary is db2112:
https://noc.wikimedia.org/dbconfig/codfw.json

"s1": [
  {
    "db2112": 0
  },
  {
    "db2103": 350,
    "db2116": 200,
    "db2130": 200,
    "db2145": 200,
    "db2146": 350,
    "db2153": 200,
    "db2167:3311": 100,
    "db2170:3311": 50,
    "db2173": 50,
    "db2174": 350,
    "db2176": 350
  }
],

This is confusing my poor sad auto schema discovery.

Event Timeline

Marostegui triaged this task as High priority.
Marostegui moved this task from Triage to In progress on the DBA board.

So as expected, orchestrator is the right source. I will get this fixed.

Mentioned in SAL (#wikimedia-operations) [2022-08-29T05:10:20Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Set db2103 as master in dbctl T316481', diff saved to https://phabricator.wikimedia.org/P33562 and previous config saved to /var/cache/conftool/dbconfig/20220829-051020-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2022-08-29T05:12:06Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Adjust weights on s1 T316481', diff saved to https://phabricator.wikimedia.org/P33563 and previous config saved to /var/cache/conftool/dbconfig/20220829-051206-marostegui.json