Last modified: 2013-12-17 01:18:24 UTC
Cirrus has some problems performing an in place reindex while changing the number of shards. 1. The size parameter sent to elasticsearch is based on the new shard count rather than the current shard count. 2. The size parameter is sent as a floating point number if the new shard count doesn't evenly divide 1000. For ease of work it is probably simpler to fix the second problem first.
I'm really not sure that the size parameter is working properly at all - it looks like it is being used bare rather than as per shard. Note to self: check that when doing this.
Change 102024 had a related patch set uploaded by Manybubbles: Fix chunk size on in place reindex https://gerrit.wikimedia.org/r/102024
Change 102024 merged by jenkins-bot: Fix chunk size on in place reindex https://gerrit.wikimedia.org/r/102024