Faidon has submitted this change and it was merged.
Change subject: Enable auto commit
......................................................................
Enable auto commit
This allows for delaying commits to the index if the commit is not forced.
This should reduce the number of commits, and immediately frees the
client, so that the job queue delays should disappear. This will of course
only happen if clients do not explicitely specify that the change should
be committed immediately.
Commits are made at least every 5,000 milliseconds when there are changes
to be made to the index, or when there are changes to 10,000 or more
documents.
Bug: 48164
Change-Id: Ie230f2e40e97fa1fb00f056d4631e64cbcbf9eae
---
M modules/solr/templates/solrconfig.xml.erb
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, but someone else must approve
Nikerabbit: Looks good to me, but someone else must approve
Manybubbles: Looks good to me, but someone else must approve
MaxSem: Looks good to me, but someone else must approve
Faidon: Verified; Looks good to me, approved
diff --git a/modules/solr/templates/solrconfig.xml.erb
b/modules/solr/templates/solrconfig.xml.erb
index a78b2e3..0a1f7af 100644
--- a/modules/solr/templates/solrconfig.xml.erb
+++ b/modules/solr/templates/solrconfig.xml.erb
@@ -327,12 +327,11 @@
since a document was added before automaticly
triggering a new commit.
-->
- <!--
+
<autoCommit>
<maxDocs>10000</maxDocs>
- <maxTime>1000</maxTime>
+ <maxTime>5000</maxTime>
</autoCommit>
- -->
<!-- Update Related Event Listeners
--
To view, visit https://gerrit.wikimedia.org/r/67249
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie230f2e40e97fa1fb00f056d4631e64cbcbf9eae
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Faidon <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Pyoungmeister <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits