Page MenuHomePhabricator

Retune enwiki_content shard settings
Closed, ResolvedPublic

Description

AC

Event Timeline

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

https://gerrit.wikimedia.org/r/833861

Change 833861 merged by jenkins-bot:

[operations/mediawiki-config@master] elastic: allow only 1 enwiki_content per host

https://gerrit.wikimedia.org/r/833861

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)

RKemper moved this task from In Progress to Blocked / Waiting on the Data-Platform-SRE board.

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)