Hoo man has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/383646 )
Change subject: Only wait for the client wiki's DB in InjectRCRecordsJob
......................................................................
Only wait for the client wiki's DB in InjectRCRecordsJob
No need to wait for all present LBs. In production this currently
causes this job to always also wait for replication on s5, which
we don't write to here.
Change-Id: I3035e27dbedef9b8c90c41e2d33af61660f82e79
---
M client/includes/Changes/InjectRCRecordsJob.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/46/383646/1
diff --git a/client/includes/Changes/InjectRCRecordsJob.php
b/client/includes/Changes/InjectRCRecordsJob.php
index b374f41..fc14a0d 100644
--- a/client/includes/Changes/InjectRCRecordsJob.php
+++ b/client/includes/Changes/InjectRCRecordsJob.php
@@ -273,7 +273,7 @@
}
}
- $this->lbFactory->commitAndWaitForReplication( __METHOD__,
$trxToken );
+ $this->lbFactory->commitAndWaitForReplication( __METHOD__,
$trxToken, [ 'domain' => wfWikiID() ] );
$this->incrementStats( 'InjectRCRecords.run.titles', count(
$titles ) );
--
To view, visit https://gerrit.wikimedia.org/r/383646
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3035e27dbedef9b8c90c41e2d33af61660f82e79
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits