Page MenuHomePhabricator

Reduce LBFactory::rollbackPrimaryChanges() callers in core
Closed, ResolvedPublic

Description

Core callers should be moved to things like cancelable atomic sections where possible. Only a select few entry point methods should invoke this function.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 747228 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/core@master] revisiondelete: make RevDelList use cancelAtomic() instead of rollbackPrimaryChanges

https://gerrit.wikimedia.org/r/747228

Change 747229 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/core@master] filerepo: make FileDeleteForm use cancelAtomic() instead of rollbackPrimaryChanges

https://gerrit.wikimedia.org/r/747229

Change 747228 merged by jenkins-bot:

[mediawiki/core@master] revisiondelete: make RevDelList use cancelAtomic() instead of rollbackPrimaryChanges

https://gerrit.wikimedia.org/r/747228

Change 747229 merged by jenkins-bot:

[mediawiki/core@master] filerepo: make FileDeleteForm use cancelAtomic() instead of rollbackPrimaryChanges

https://gerrit.wikimedia.org/r/747229