Last modified: 2013-12-17 01:18:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60550, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58550 - CirrusSearch: Problems during in place reindex while changing number of shards
CirrusSearch: Problems during in place reindex while changing number of shards
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-16 21:33 UTC by Nik Everett
Modified: 2013-12-17 01:18 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nik Everett 2013-12-16 21:33:38 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.
Comment 1 Nik Everett 2013-12-16 22:35:30 UTC
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.
Comment 2 Gerrit Notification Bot 2013-12-16 23:00:59 UTC
Change 102024 had a related patch set uploaded by Manybubbles:
Fix chunk size on in place reindex

https://gerrit.wikimedia.org/r/102024
Comment 3 Gerrit Notification Bot 2013-12-16 23:34:18 UTC
Change 102024 merged by jenkins-bot:
Fix chunk size on in place reindex

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links