repo.or.cz
/
mediawiki.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Move database constants to their own file
2016-09-05
Aaron Schulz
Renam
e
d "sl
a
ve
"
i
nternal LB/DB info field to "replica"
commit
|
commitdiff
|
tree
2016-09-05
Aaro
n
S
c
hulz
F
ix
d
efault
h
andling
i
n Load
B
alancer::getRandom
N
onL
a
gged()
commit
|
commitdiff
|
tree
2016-09-05
A
a
r
on Schul
z
Cache revis
i
on
l
o
o
k
ups done
b
y P
a
rser
commit
|
commitdiff
|
tree
2016-09-03
A
aron Schulz
Rename some variabl
e
s in
D
at
a
bas
e
Mysq
l
B
a
se
commit
|
commitdiff
|
tree
2016-09-03
Aaron Schulz
R
e
move unused DB posit
i
on values in LoadBalan
c
er
commit
|
commitdiff
|
tree
2016-09-03
Aaron Sch
u
lz
Rename som
e
DB/LB variable
s
to
b
e more consist
e
nt
commit
|
commitdiff
|
tree
2016-09-03
Aaron Sc
h
ulz
Fix ID
E
A error in prepareQuickTemplate() call
commit
|
commitdiff
|
tree
2016-09-03
Aaron Schulz
Make
r
eplication
D
B-rel
a
t
e
d comments/messages more
.
.
.
commit
|
commitdiff
|
tree
2016-09-03
Aar
o
n
Schulz
M
a
ke de
f
e
r
red updates fu
l
ly own their transac
t
ion
r
ounds
commit
|
commitdiff
|
tree
2016-09-02
Aaron S
c
h
ulz
Use
W
A
N
cache adaptiveTTL() method i
n
File
B
acken
d
Store
commit
|
commitdiff
|
tree
2016-09-02
A
aron
Schulz
Fix deletion
handling of r
e
v_deleted
commit
|
commitdiff
|
tree
2016-09-02
Aaron Schulz
Convert
Revision::fetchFromConds() to using more moder
n
.
.
.
commit
|
commitdiff
|
tree
2016-09-02
A
a
ron
S
c
h
ulz
Add flu
s
hReplicaSnapshots() metho
d
for
j
us
t
clearing
.
.
.
commit
|
commitdiff
|
tree
2016-09-02
Aaron Schul
z
Remove
spammy
r
euseCon
n
e
ct
i
o
n() wf
D
ebug
(
) call
commit
|
commitdiff
|
tree
2016-09-02
Aa
r
on Schulz
Replace
D
at
a
Update::doUpdates
(
) callers in
m
aintenance/
commit
|
commitdiff
|
tree
2016-09-02
Aaron
Schulz
M
a
k
e Deferr
e
d
U
p
dat
e
s
ab
l
e t
o
run
D
ataUpd
a
tes
commit
|
commitdiff
|
tree
2016-09-02
Aaro
n
Schulz
Move run
-
on
-
add l
o
gic
in
De
f
erred
U
pdates t
o
a
ddUpdate()
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schulz
Re
m
ove $recursi
o
nG
u
ard v
a
r from tryOp
p
ortunisticExe
c
ute(
)
commit
|
commitdiff
|
tree
2016-09-01
A
aro
n
Schulz
Set
"r
u
n
when DBs idle"
D
efe
r
redUpdates l
o
gic in
M
aintenance
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schulz
Remove unuse
d
custom
t
ransactio
n
logic
f
rom Da
t
aUpdate
commit
|
commitdiff
|
tree
2016-09-01
Aar
o
n Schu
l
z
S
et so
m
e missing
INT
E
RNAL DB transact
i
on flags and
.
.
.
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schulz
object
c
ache: al
l
ow
for c
a
l
lbacks to mask SYN
C
_WRITE
.
.
.
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schu
l
z
Use tran
s
act
i
on
listener to run Deferr
e
dUpdates in
.
.
.
commit
|
commitdiff
|
tree
2016-09-01
Aaron Sch
u
lz
Add LoadBalancer::setT
r
a
n
sactionLis
t
ene
r
()
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schulz
Con
v
ert
L
ocalFile to u
s
i
n
g
g
e
tWithSetCallback() f
o
r
.
.
.
commit
|
commitdiff
|
tree
2016-09-01
A
aron S
c
h
u
lz
Deprecate SqlDa
t
aUpdate
commit
|
commitdiff
|
tree
2016-09-01
Aa
r
on Schulz
M
a
ke insert
S
elect
(
) do tw
o
separate queri
e
s in
n
on
.
.
.
commit
|
commitdiff
|
tree
2016-09-01
Aaron Schulz
Links update class cleanups
commit
|
commitdiff
|
tree
2016-08-31
Aaron Schulz
Improve b
e
ginMas
t
erChanges a
n
d mak
e
methods
for De
f
erredUpd
a
tes
commit
|
commitdiff
|
tree
2016-08-31
Aaron Schulz
Adapt the
ParserOutput c
a
c
he TTL whe
n
including special
.
.
.
commit
|
commitdiff
|
tree
2016-08-31
Aaron Schulz
A
lways fail ove
r
to
s
ync
j
obs when
S
pecial:Ru
n
Jobs
.
.
.
commit
|
commitdiff
|
tree
2016-08-31
Aaron Sch
u
l
z
objectcac
h
e
:
add and use
ada
p
tiveT
T
L() met
h
od
commit
|
commitdiff
|
tree
2016-08-30
Aaron Schulz
o
bjectcache: Make SqlBa
g
OStuff::
w
aitFor
S
laves() no
.
.
.
commit
|
commitdiff
|
tree
2016-08-30
Aaron Sc
h
ulz
Add mo
r
e est
i
mation mod
e
s
to pendi
n
gWriteQ
u
eryDurati
o
n()
commit
|
commitdiff
|
tree
2016-08-29
A
aron Schulz
Move som
e
DB error cl
a
sses with the rest as type
D
BUnexpe
c
te
.
.
.
commit
|
commitdiff
|
tree
2016-08-29
Aaron Schulz
database:
Clean up
p
rofiling code in
D
a
t
abaseBase
commit
|
commitdiff
|
tree
2016-08-29
Aaron Schul
z
Mov
e
HTTP 304 check f
r
om per
f
ormRe
q
uest
t
o
ViewAction
commit
|
commitdiff
|
tree
2016-08-29
Aaro
n
S
c
h
u
lz
Remove
Block::p
u
r
geExpired() call from block
qu
e
ry
A
PI
commit
|
commitdiff
|
tree
2016-08-29
Aa
r
on Schulz
Fix shutdown() code du
p
licati
o
n in LBFact
o
ry
commit
|
commitdiff
|
tree
2016-08-29
Aaron Schulz
Use D
B
_SLAVE in TemporaryPasswor
d
PrimaryAuthenticati
o
nProvider
commit
|
commitdiff
|
tree
2016-08-29
Aaron S
c
h
ulz
Includ
e
PRESEND updates i
n
Chronol
o
gyProtector positi
o
n
s
commit
|
commitdiff
|
tree
2016-08-28
Aaron
S
c
h
ul
z
Set the W
R
ITE_SYNC fl
a
g
for S
e
ssionBack
e
nd writes
commit
|
commitdiff
|
tree
2016-08-28
Aaron Schulz
Fix datab
a
se class doc typos
commit
|
commitdiff
|
tree
2016-08-26
Aaron Schulz
Make
d
atabase ping() method avoid sta
r
t
i
ng tran
s
ac
t
ions
commit
|
commitdiff
|
tree
2016-08-25
Aaron Schulz
R
emove r
e
dundant UNIQUE from rev_
p
a
ge_
i
d
commit
|
commitdiff
|
tree
2016-08-25
Aaron
Schulz
Cleanups to
SqlBagOStuff
commit
|
commitdiff
|
tree
2016-08-24
Aaron
Sc
h
u
lz
Optimize ChronologyProtector writ
e
s
for multi-DC case
commit
|
commitdiff
|
tree
2016-08-24
Aaron Schulz
Ma
k
e Special:CreateAccou
n
t respe
c
t ?
r
eturnto paramete
r
commit
|
commitdiff
|
tree
2016-08-24
Aaron
S
c
h
ulz
M
o
v
e Art
i
cl
e
checkLas
t
Modified
(
)
up to
Med
i
aWi
k
i::per
f
ormRequest
commit
|
commitdiff
|
tree
2016-08-24
Aaron Schulz
V
irtualRESTServic
e
Client manag
e
ment cleanups
commit
|
commitdiff
|
tree
2016-08-24
Aaron Schulz
Add LBFactory::beginMasterCha
n
ges() for doing DBO_TRX
.
.
.
commit
|
commitdiff
|
tree
2016-08-23
Aa
r
o
n
Schulz
R
e
m
ove commit() ca
l
ls fro
m
JobQueueDB
commit
|
commitdiff
|
tree
2016-08-23
Aaron
S
chul
z
Av
o
id I
N
SERT
.
.
SELECT
in
L
ocalFileDeleteBat
c
h
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schul
z
Avo
i
d INSERT
.
.
SELECT
in doArticleDelete
R
eal()
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schulz
F
ix broken lockmanager-fa
i
l-releaselock
s
tatus me
s
sages
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schulz
Reduce proble
m
s cau
s
e
d by $wgR
u
nJobsAsync
commit
|
commitdiff
|
tree
2016-08-23
Aaron Sch
u
lz
Code cleanups
t
o SqlBagOStuff
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schulz
A
few mor
e
D
B
L
ockManager fixes and cleanups
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schulz
Mo
v
e Enq
u
eueableDataUpdate t
o
a separa
t
e file
commit
|
commitdiff
|
tree
2016-08-23
Aa
r
o
n
S
chulz
V
arious database c
l
ass cleanups
commit
|
commitdiff
|
tree
2016-08-23
Aaron Schulz
Remove direct
r
ollback()
c
alls from some pla
c
es
commit
|
commitdiff
|
tree
2016-08-23
A
a
ron Schulz
Move invalidatePages(
)
to new PurgeJobUtils class
commit
|
commitdiff
|
tree
2016-08-22
A
a
r
o
n Schulz
R
un Lin
k
sD
e
let
i
onUpdate after
commi
t
() in name
s
paceDupes
.
php
commit
|
commitdiff
|
tree
2016-08-22
Aaron Sch
u
lz
Call ssl_set() in Data
b
aseMysqli if DBO_SSL
is se
t
commit
|
commitdiff
|
tree
2016-08-22
Aaron Schulz
U
s
e
new
e
r t
r
ansactio
n
me
t
hods in Bat
c
hRowWriter
commit
|
commitdiff
|
tree
2016-08-21
A
a
r
o
n
S
chulz
F
i
x IDEA warning in VirtualRESTSer
v
iceCli
e
nt
commit
|
commitdiff
|
tree
2016-08-21
Aar
o
n
S
chul
z
R
e
m
ove c
o
m
m
it() h
a
ck from
U
ser::addT
o
Database()
commit
|
commitdiff
|
tree
2016-08-21
A
a
r
o
n Schu
l
z
G
ive all idle transaction callbacks a chance
t
o ru
n
commit
|
commitdiff
|
tree
2016-08-20
A
a
ron
S
chulz
Split DB
L
ockManager classes into thei
r
o
w
n
files
commit
|
commitdiff
|
tree
2016-08-19
Aar
o
n Schulz
D
etect when callers catch
DB errors and fai
l
to rollba
c
k
commit
|
commitdiff
|
tree
2016-08-19
Aaron S
c
hulz
Avoid INSERT
.
.
SELEC
T
in MoveP
a
ge
commit
|
commitdiff
|
tree
2016-08-19
A
a
ron Schulz
Clarify
s
ome WANObjec
t
C
a
che docs
commit
|
commitdiff
|
tree
2016-08-18
Aa
r
on Schulz
objec
t
cache: add mcrouter sup
p
ort to
W
ANObject
C
ache
commit
|
commitdiff
|
tree
2016-08-18
Aaron S
c
hulz
Send n
e
w
a
ccoun
t
and pass
w
ord reset emails post-c
o
mmit
commit
|
commitdiff
|
tree
2016-08-18
A
a
r
o
n Schulz
Re
v
ert "AuthM
a
nager: Commit t
r
ansaction after
a
uto
.
.
.
commit
|
commitdiff
|
tree
2016-08-18
Aa
r
on
S
c
hulz
Add sanit
y
c
h
ec
k
to getScopedLock
A
ndFl
u
sh() for
p
e
nding
.
.
.
commit
|
commitdiff
|
tree
2016-08-18
Aaron Schulz
ge
t
Sco
p
edLo
c
kAndFlush()
sho
u
ld not com
m
it when exception
s
.
.
.
commit
|
commitdiff
|
tree
2016-08-17
Aaron Schulz
Make doAtomicSe
c
tion()
return the callback re
s
u
lt
commit
|
commitdiff
|
tree
2016-08-17
Aaron Schulz
Remove po
i
ntless o
v
e
rri
d
e of
doSta
s
h
File in UploadFromStash
commit
|
commitdiff
|
tree
2016-08-17
Aaron Schulz
objectcache
:
Optimize
changeTTL()
f
or SqlBagOS
t
uff
commit
|
commitdiff
|
tree
2016-08-17
A
a
ron Schulz
Mak
e
tr
a
nsa
c
tion e
n
forcement stricter
commit
|
commitdiff
|
tree
2016-08-16
Aa
r
o
n S
c
hul
z
Add
convenience
c
o
mmit
A
ndWait
F
orReplication() method
commit
|
commitdiff
|
tree
2016-08-16
Aaron Schulz
A
c
t
u
a
l
ly enable the DBPerf
o
rmance log in
t
h
e API
commit
|
commitdiff
|
tree
2016-08-16
Aa
r
on Schulz
Da
t
abase transaction
f
l
us
h
ing cleanups
commit
|
commitdiff
|
tree
2016-08-15
Aaron Schulz
Fix DBLockMana
g
er comm
e
nts
commit
|
commitdiff
|
tree
2016-08-15
Aaro
n
Sc
h
ulz
M
ake a
u
toCr
e
ateUser() tran
s
action prof
i
ler s
u
ppress
i
on
.
.
.
commit
|
commitdiff
|
tree
2016-08-15
Aaron Schulz
R
e
p
l
ace blunt u
s
es of resetExpectations
(
) with setSile
n
ced
.
.
.
commit
|
commitdiff
|
tree
2016-08-15
Aaron Schulz
Alwa
y
s set DBO_DEFAULT by default for LBFactory
c
l
a
sses
.
.
.
commit
|
commitdiff
|
tree
2016-08-15
Aaron Schulz
objectc
a
ch
e
:
e
xpa
n
d getWithSet
C
all
b
ack() do
c
s a
b
i
t
commit
|
commitdiff
|
tree
2016-08-15
Aa
r
o
n
Schulz
Make various MWCallable
U
pdate us
a
ge
s
rollbac
k
-
s
afe
commit
|
commitdiff
|
tree
2016-08-13
Aaron Schulz
Us
e
wa
i
tFo
r
A
l
l
() for slow JobRunner co
m
mits
commit
|
commitdiff
|
tree
2016-08-12
Aa
r
on Schulz
Use
c
ache TTL cons
t
ant i
n
InfoAction
commit
|
commitdiff
|
tree
2016-08-12
Aaron Sc
h
ulz
objectc
a
che:
A
dd changeTTL() method
commit
|
commitdiff
|
tree
2016-08-11
Aaron
S
chulz
Defer maybeUpgradeRow() post
-
s
en
d
since
t
hey c
a
n t
r
i
g
ger
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
Aaron Schulz
Mak
e
Database
d
iscon
n
ect and error sup
p
r
ession more
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
A
aro
n
Schulz
Upgr
a
d
e
unmatched
exp
l
ic
i
t
c
o
mmit
(
) of DBO
_
TR
X
to an
.
.
.
commit
|
commitdiff
|
tree
2016-08-11
A
a
ron Schulz
R
e
quire POST for a
c
tion=purg
e
in PurgeActi
o
n
commit
|
commitdiff
|
tree
2016-08-11
Aaron Schulz
Optimize summar
y
-b
a
sed extension edit s
t
ash
c
a
c
hes
commit
|
commitdiff
|
tree
2016-08-10
Aaron
Schulz
M
a
ke Pu
r
geChangedFiles ac
t
ually purge
o
ld
v
ers
i
o
n
s to
o
commit
|
commitdiff
|
tree
2016-08-09
A
aron S
c
hulz
Clean up
s
o
m
e IDatabas
e
comme
n
ts
commit
|
commitdiff
|
tree
next