jenkins-bot has submitted this change and it was merged.
Change subject: Remove begin/commit transaction calls in refreshLinks.php
......................................................................
Remove begin/commit transaction calls in refreshLinks.php
these sometimes lead to issues with database deadlock loops
and probably are not needed here.
Bug: T75456
Change-Id: Iad03f6076d8e319ff02cb26259ec9705105e92a7
---
M maintenance/refreshLinks.php
1 file changed, 0 insertions(+), 5 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php
index 06e1449..ed16805 100644
--- a/maintenance/refreshLinks.php
+++ b/maintenance/refreshLinks.php
@@ -242,13 +242,8 @@
return;
}
- $dbw = wfGetDB( DB_MASTER );
- $dbw->begin( __METHOD__ );
-
$updates = $content->getSecondaryDataUpdates( $page->getTitle()
);
DataUpdate::runUpdates( $updates );
-
- $dbw->commit( __METHOD__ );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/249000
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iad03f6076d8e319ff02cb26259ec9705105e92a7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits