dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279b889
)
[MCR] Fix SqlBlobStore using DB_REPLICA for writes
author
addshore
<addshorewiki@gmail.com>
Tue, 19 Dec 2017 14:58:06 +0000
(14:58 +0000)
committer
addshore
<addshorewiki@gmail.com>
Tue, 19 Dec 2017 14:58:06 +0000
(14:58 +0000)
Bug: T183242
Bug: T183245
Bug: T183252
Change-Id: Ic0b9910b5de5ce6817d6a4a3e5e32103e2113926
includes/Storage/SqlBlobStore.php
patch
|
blob
|
history
diff --git
a/includes/Storage/SqlBlobStore.php
b/includes/Storage/SqlBlobStore.php
index
0714633
..
fcdc1b9
100644
(file)
--- a/
includes/Storage/SqlBlobStore.php
+++ b/
includes/Storage/SqlBlobStore.php
@@
-228,7
+228,7
@@
class SqlBlobStore implements IDBAccessObject, BlobStore {
// used. We'll need to assess expected fallout before doing that.
}
- $dbw = $this->getDBConnection( DB_
REPLICA
);
+ $dbw = $this->getDBConnection( DB_
MASTER
);
$old_id = $dbw->nextSequenceValue( 'text_old_id_seq' );
$dbw->insert(