dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
47dda77
)
Merge "Removed clearSharedCache() hack in User.php"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 15 Sep 2015 12:13:12 +0000
(12:13 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 15 Sep 2015 12:13:12 +0000
(12:13 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
605dab6
..
dbcbe31
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-3709,14
+3709,6
@@
class User implements IDBAccessObject {
Hooks::run( 'UserSaveSettings', array( $this ) );
$this->clearSharedCache();
$this->getUserPage()->invalidateCache();
-
- // T95839: clear the cache again post-commit to reduce race conditions
- // where stale values are written back to the cache by other threads.
- // Note: this *still* doesn't deal with REPEATABLE-READ snapshot lag...
- $that = $this;
- $dbw->onTransactionIdle( function() use ( $that ) {
- $that->clearSharedCache();
- } );
}
/**