AC
- https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/833861 is applied
- Manual cmds run to set the value on the already-existing indices and not just newly created ones
AC
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| elastic: allow only 1 enwiki_content per host | Ryan Kemper | operations/mediawiki-config | master | +2 -2 |
Change 833861 had a related patch set uploaded (by Ryan Kemper; author: Ryan Kemper):
[operations/mediawiki-config@master] elastic: allow only 1 enwiki_content per host
Change 833861 merged by jenkins-bot:
[operations/mediawiki-config@master] elastic: allow only 1 enwiki_content per host
Mentioned in SAL (#wikimedia-operations) [2023-08-15T20:11:10Z] <ryankemper@deploy1002> Started scap: Backport for [[gerrit:833861|elastic: allow only 1 enwiki_content per host (T343820)]]
Mentioned in SAL (#wikimedia-operations) [2023-08-15T20:12:49Z] <ryankemper@deploy1002> ryankemper: Backport for [[gerrit:833861|elastic: allow only 1 enwiki_content per host (T343820)]] synced to the testservers mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)
Mentioned in SAL (#wikimedia-operations) [2023-08-15T20:20:36Z] <ryankemper@deploy1002> Finished scap: Backport for [[gerrit:833861|elastic: allow only 1 enwiki_content per host (T343820)]] (duration: 09m 25s)
Will be in blocked/waiting for a few days while a reindex of all wikis completes to apply the newest settings.
The reindex, even though we had to terminate it before it finished, had already gotten to enwiki_content. So this is done. Here's what the value on both eqiad and codfw looks like:
"routing": {
"allocation": {
"total_shards_per_node": "1"
}(Seen via ryankemper@elastic2064:~$ curl -s localhost:9200/enwiki_content_*/_settings | jq . | grep -2 total_shards_per_node)