jenkins-bot has submitted this change and it was merged. Change subject: Configure $wgCdnReboundPurgeDelay ......................................................................
Configure $wgCdnReboundPurgeDelay Bug: T113192 Change-Id: I3a24fe5f133d412aaf19ed20efcfc67e42e95f85 --- M wmf-config/db-codfw.php M wmf-config/db-eqiad.php M wmf-config/squid.php 3 files changed, 5 insertions(+), 2 deletions(-) Approvals: Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php index 78f9cef..b6b9eb6 100644 --- a/wmf-config/db-codfw.php +++ b/wmf-config/db-codfw.php @@ -168,7 +168,7 @@ 'password' => $wgDBpassword, 'type' => 'mysql', 'flags' => DBO_DEFAULT, - 'max lag' => 10, + 'max lag' => 10, // should be safely less than $wgCdnReboundPurgeDelay 'variables' => array( 'innodb_lock_wait_timeout' => 15 ) diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php index 91e1a70..52e5a8a 100644 --- a/wmf-config/db-eqiad.php +++ b/wmf-config/db-eqiad.php @@ -162,7 +162,7 @@ 'password' => $wgDBpassword, 'type' => 'mysql', 'flags' => DBO_DEFAULT, - 'max lag' => 10, + 'max lag' => 10, // should be safely less than $wgCdnReboundPurgeDelay 'variables' => array( 'innodb_lock_wait_timeout' => 15 ) diff --git a/wmf-config/squid.php b/wmf-config/squid.php index 7f13361..3a3f521 100644 --- a/wmf-config/squid.php +++ b/wmf-config/squid.php @@ -69,3 +69,6 @@ '62.214.230.86', '217.94.171.96', ); + +# Secondary purges to deal with DB replication lag +$wgCdnReboundPurgeDelay = 11; // should be safely more than $wgLBFactoryConf 'max lag' -- To view, visit https://gerrit.wikimedia.org/r/258365 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3a24fe5f133d412aaf19ed20efcfc67e42e95f85 Gerrit-PatchSet: 5 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Chad <ch...@wikimedia.org> Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits