Manybubbles has uploaded a new change for review.
https://gerrit.wikimedia.org/r/150700
Change subject: Lower default number of reindex processes
......................................................................
Lower default number of reindex processes
We don't use the default in production and it is too high in development.
Change-Id: Ic4f6e219699e8e066807d0614eaff598a2bc286f
---
M maintenance/updateOneSearchIndexConfig.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/00/150700/1
diff --git a/maintenance/updateOneSearchIndexConfig.php
b/maintenance/updateOneSearchIndexConfig.php
index 4be5c27..d56dbda 100644
--- a/maintenance/updateOneSearchIndexConfig.php
+++ b/maintenance/updateOneSearchIndexConfig.php
@@ -137,7 +137,7 @@
"alias to this index, and then remove other index.
You'll have to redo all updates ".
"performed during this operation manually. Defaults to
false." );
$maintenance->addOption( 'reindexProcesses', 'Number of
processess to use in reindex. ' .
- 'Not supported on Windows. Defaults to 1 on Windows
and 10 otherwise.', false, true );
+ 'Not supported on Windows. Defaults to 1 on Windows
and 5 otherwise.', false, true );
$maintenance->addOption( 'reindexAcceptableCountDeviation',
'How much can the reindexed ' .
'copy of an index is allowed to deviate from the
current copy without triggering a ' .
'reindex failure. Defaults to 5%.', false, true );
@@ -179,7 +179,7 @@
$this->indexBaseName = $this->getOption( 'baseName', wfWikiId()
);
$this->indent = $this->getOption( 'indent', '' );
$this->reindexAndRemoveOk = $this->getOption(
'reindexAndRemoveOk', false );
- $this->reindexProcesses = $this->getOption( 'reindexProcesses',
wfIsWindows() ? 1 : 10 );
+ $this->reindexProcesses = $this->getOption( 'reindexProcesses',
wfIsWindows() ? 1 : 5 );
$this->reindexAcceptableCountDeviation =
$this->parsePotentialPercent(
$this->getOption( 'reindexAcceptableCountDeviation',
'5%' ) );
$this->reindexChunkSize = $this->getOption( 'reindexChunkSize',
100 );
--
To view, visit https://gerrit.wikimedia.org/r/150700
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4f6e219699e8e066807d0614eaff598a2bc286f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits