Ottomata has submitted this change and it was merged.

Change subject: Configure archive table name
......................................................................


Configure archive table name

Depends on: https://gerrit.wikimedia.org/r/#/c/162292/
(NOTE: I've seen people express this dependency in gerrit, some pointers
on how to do that would be appreciated)

Change-Id: I9fa340666a58cd4b7d2c3be934fa3db0d4f817df
---
M manifests/role/wikimetrics.pp
M modules/wikimetrics
2 files changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/wikimetrics.pp b/manifests/role/wikimetrics.pp
index 6223509..202a5eb 100644
--- a/manifests/role/wikimetrics.pp
+++ b/manifests/role/wikimetrics.pp
@@ -213,9 +213,10 @@
         db_replication_lag_threshold => 3,
 
         # wikimetrics runs on the LabsDB usually,
-        # where this table is called 'revision_userindex'.
-        # The mediawiki database usually calls this 'revision'.
+        # where the archive and revision tables have _userindex variants
+        # These are preferable to use for performance reasons
         revision_tablename           => 'revision_userindex',
+        archive_tablename            => 'archive_userindex',
 
         var_directory                => $var_directory,
         public_subdirectory          => $public_subdirectory,
diff --git a/modules/wikimetrics b/modules/wikimetrics
index 437e28d..b886ca3 160000
--- a/modules/wikimetrics
+++ b/modules/wikimetrics
-Subproject commit 437e28d4d561b2e112ca5363b0624e0716c0e8a1
+Subproject commit b886ca331045432afe76882f184c0cdd4a077f3d

-- 
To view, visit https://gerrit.wikimedia.org/r/162293
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9fa340666a58cd4b7d2c3be934fa3db0d4f817df
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Milimetric <[email protected]>
Gerrit-Reviewer: Nuria <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to