Page MenuHomePhabricator

Change the sharding values and reindex indices in codfw that have more shards than servers
Closed, ResolvedPublic

Description

During load testing (T117714) it became obvious that a couple of servers are serving twice the query load of the others, this is because a couple of the indices have more shards (incl replicas) than we have servers in codfw. To more evenly distribute the load the values in mediawiki-config have to be changed and the indices need to be re-indexed.

The main thing to decide here is do we go with fewer replicas, or fewer shards? I'm leaning towards fewer shards. I think we need to keep to the minimum of 1 primary + 2 replicas. This means 8 primaries and 2 replicas each for a total of 24 shards.

Event Timeline

EBernhardson raised the priority of this task from to Needs Triage.
EBernhardson updated the task description. (Show Details)
EBernhardson subscribed.

Change 265372 had a related patch set uploaded (by EBernhardson):
Change CirrusSearch sharding values for codfw

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

• Deskana added a subscriber: dcausse.
• Deskana subscribed.

This needs review from @dcausse.

Change 265372 merged by jenkins-bot:
Change CirrusSearch sharding values for codfw

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