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
Remove global state from DatabaseBase::__construct()
2016-09-15
Aaron Sch
u
lz
Rem
o
ve global state from DatabaseBase::__
c
onstruct()
commit
|
commitdiff
|
tree
2016-09-15
Aaro
n
Schulz
Rem
o
ve un
u
sed LBFactoryFake class
commit
|
commitdiff
|
tree
2016-09-15
Aar
o
n Schulz
Avoid MWExce
p
tion and wf* log meth
o
ds in DatabaseBase
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schul
z
Move v
a
rious DB help
e
r cla
s
s
e
s t
o
/
libs/
r
dbms
commit
|
commitdiff
|
tree
2016-09-15
Aa
r
o
n Schulz
Move
LoadB
a
lancer t
o
/libs/rdbms
commit
|
commitdiff
|
tree
2016-09-15
Aa
r
o
n Schu
l
z
Cha
n
ge DatabaseBase =>
IData
b
ase in /db where possible
commit
|
commitdiff
|
tree
2016-09-15
Aaron
Schulz
Change $
w
iki => $domain in LoadB
a
l
a
n
cer
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schulz
Exception cleanups
f
or LoadBalan
c
er
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schulz
Move D
B
ConnR
e
f and C
h
ronolog
y
Prot
e
ctor
t
o /li
b
s/r
d
bms
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schulz
More DB
related class cleanups to prepare f
i
l
es
f
or
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schulz
Make W
i
ki
P
age::
g
e
t
Re
v
ision() make u
s
e of Revisi
o
n
:
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schu
l
z
M
o
ve IDatab
a
s
e/ILoadBa
l
ancer to /li
b
s/rd
b
ms
commit
|
commitdiff
|
tree
2016-09-14
A
ar
o
n Schulz
M
ake Si
t
eStatsUpda
t
e implement Merge
a
b
l
eUpd
a
te
commit
|
commitdiff
|
tree
2016-09-14
Aa
r
on Schulz
Fix broken select()
c
a
l
l
in rebuildFileCache
.
ph
p
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schu
l
z
Move
D
BErr
o
r
to /libs/rdb
m
s
/e
x
ception
commit
|
commitdiff
|
tree
2016-09-14
Aa
r
on Schul
z
Add
MWExcept
i
onRen
d
erer class an
d
decouple
DBE
r
ror
commit
|
commitdiff
|
tree
2016-09-14
Aar
o
n
Schulz
M
o
ve Transaction
P
rofi
l
er
t
o
/
lib
s
/rdbms
commit
|
commitdiff
|
tree
2016-09-14
Aa
r
o
n Sc
h
u
l
z
Move LoadMonitor c
l
asses to l
i
bs/
r
dbms/
l
o
admonitor
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schulz
Replace so
m
e MWExceptions with na
t
iv
e
s on
e
s in /db
commit
|
commitdiff
|
tree
2016-09-14
A
ar
o
n Schulz
S
et cpP
o
sT
i
me cookie for the non-redirect c
a
se
as
well
commit
|
commitdiff
|
tree
2016-09-14
A
aron Schulz
U
s
e cpPosTime co
o
kie for same-domain re
d
irec
t
s on DB
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
A
aron
Schulz
Add ILoadBalancer interface
commit
|
commitdiff
|
tree
2016-09-14
Aaron Sch
u
lz
Convert LoadBalancer/Da
t
abas
e
cla
s
s logging to PSR
commit
|
commitdiff
|
tree
2016-09-13
Aaron Schulz
Vario
u
s
d
ep
e
ndenc
y
inj
e
ction cleanups to
L
oadB
a
lan
c
er
commit
|
commitdiff
|
tree
2016-09-13
K
u
n
al
M
e
h
t
a
Add
WikiPage:
:
i
sL
o
cal()
commit
|
commitdiff
|
tree
2016-09-13
A
aron
Sch
u
lz
M
ake Deferr
e
d
U
pdates
c
all
se
t
TransactionTicket() o
n
.
.
.
commit
|
commitdiff
|
tree
2016-09-13
Aaron Schulz
Remove p
o
i
n
tless double excep
t
i
o
n
logg
i
ng f
r
om JobRunner
commit
|
commitdiff
|
tree
2016-09-13
Aaron
S
chulz
Reo
r
ganize Refre
s
hL
i
nksJob c
o
d
e
slightly and avoid
.
.
.
commit
|
commitdiff
|
tree
2016-09-13
Aaron
S
chulz
Simplify
LBFactory ticket
c
ode in CategoryMembershipChan
g
e
J
o
b
commit
|
commitdiff
|
tree
2016-09-13
Aaron
S
chulz
Av
o
i
d
us
i
ng deprecated methods
i
n JobQueue
D
B
commit
|
commitdiff
|
tree
2016-09-13
Aaron Schu
l
z
Remov
e
pointless getTransactionProfil
e
r() method
commit
|
commitdiff
|
tree
2016-09-13
Aaron Schulz
Twea
k
$wgTrx
P
rofilerLi
m
its to lower noise a
b
it
commit
|
commitdiff
|
tree
2016-09-12
Aa
r
on S
c
h
u
lz
Make LBFactory::wai
t
ForRep
l
ication() m
a
sk
wa
i
t latency
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aaron Schulz
Make sure emails from RecentChange::sa
v
e()
are
f
o
r
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aa
r
on Schulz
Make safe
W
aitForMasterPos() use mWaitTimeout in
s
tea
d
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aaron Schulz
Avoid creating
DB repli
c
ation
l
ag i
n
clearAl
l
Notifications(
)
commit
|
commitdiff
|
tree
2016-09-12
Aaron Schulz
Improve comp
a
t
ibility
c
hecks in WaitConditi
o
nLoop
commit
|
commitdiff
|
tree
2016-09-12
Aaron Schulz
Avoid
"
No transaction is active" saveFileDepe
n
dencies
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aaron S
c
hulz
Use memory
job q
u
e
ue for unit t
e
sts
commit
|
commitdiff
|
tree
2016-09-12
A
a
ro
n
Schulz
A
v
oid "Column md_module cannot be null" err
o
r
in unit
.
.
.
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
Make Purge
J
obUtils avoid creating DB replicat
i
on lag
commit
|
commitdiff
|
tree
2016-09-11
Aa
r
on Sch
u
lz
Use
E
STIMATE
_
DB_APPLY for total transactio
n
time estimate
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schul
z
Remove useless LoadBalancer::pa
r
entInfo() met
h
od
a
nd
.
.
.
commit
|
commitdiff
|
tree
2016-09-11
Aaro
n
Schulz
Add LBFactory::getChronologyProtectorTou
c
hed() me
t
ho
d
commit
|
commitdiff
|
tree
2016-09-11
Aar
o
n Schulz
Make WikiPage::do
P
urge() clear the file cache too
commit
|
commitdiff
|
tree
2016-09-11
Aaron S
c
hulz
Use
DB_REPLICA
in Co
n
tri
b
sP
a
ger
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
S
i
m
plify some LoadBal
a
n
c
er
m
ethods
t
hat do iteration
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
Redu
c
e WikiP
a
ge::getCon
t
entMo
d
el() queries vi
a
caching
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
Make
JobQueueGroup::pus
h
()
u
pdate the
q
ueuesHa
v
eJob
s
.
.
.
commit
|
commitdiff
|
tree
2016-09-11
R
o
an Kattouw
Force p
r
imary index fo
r
RevD
e
lRevis
i
onList
query
commit
|
commitdiff
|
tree
2016-09-10
Aaron Schulz
Make
t
he p
a
g
e JOIN
in RevDelRevisionLi
s
t actua
l
l
y appl
y
commit
|
commitdiff
|
tree
2016-09-09
Aar
o
n Schul
z
Add more version notes to WANObjectCache
commit
|
commitdiff
|
tree
2016-09-09
Aaron Schulz
objectcac
h
e
:
a
dd "s
t
aleTTL"
o
p
tio
n
to
WANObjectCa
c
h
e
.
.
.
commit
|
commitdiff
|
tree
2016-09-09
Aaron Schulz
Cleanup
a
nd re-indent som
e
WANObjectCache docs
commit
|
commitdiff
|
tree
2016-09-09
Aaron Schulz
Make $wgRev
i
sionCacheExpiry de
f
a
u
lt to one week
commit
|
commitdiff
|
tree
2016-09-09
A
aron
Sc
h
ul
z
Sw
i
tch some callers
to WaitC
o
ndi
t
ionLoop
commit
|
commitdiff
|
tree
2016-09-09
Gergő T
i
sza
Avoid user
a
utocr
e
ation race condition caus
e
d b
y
repeatable
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
A
a
ron Schulz
objectcache: e
x
pose "minTime" in WAN cache and call
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
obje
c
tcache: pass i
n
the
$
ol
d
Va
l
ue as
-
of time in get
W
i
thSetC
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aa
r
on Sc
h
ulz
F
i
x IDEA warnings in CategoryMembership
C
hangeJob
commit
|
commitdiff
|
tree
2016-09-08
A
a
ron Schulz
da
t
a
b
ase: rename
c
learSnapshot(
)
=> fl
u
s
h
Snapshot()
commit
|
commitdiff
|
tree
2016-09-08
Aaron Sch
u
lz
Make s
u
re the lock in J
o
bRu
n
ner::com
m
it
M
as
t
erCha
n
ges
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
Mo
v
e
PECL memcached class
to /libs
commit
|
commitdiff
|
tree
2016-09-08
A
a
r
on Sch
u
lz
O
n
ly a
p
p
l
y
D
B
_
MASTER f
a
llback in Re
v
ision::fetchT
e
x
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schu
l
z
o
b
je
c
t
c
ache: add "pcGroup"
opti
o
n to WA
N
ObjectC
a
c
he
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Timo Tijhof
Rollba
c
k
A
ctio
n
: Allow 'fr
o
m' to b
e
an em
p
ty stri
n
g
commit
|
commitdiff
|
tree
2016-09-07
Aa
r
on Schulz
Fix ApiSta
s
hEdit IDEA warnings
commit
|
commitdiff
|
tree
2016-09-07
Timo
T
i
j
ho
f
Revisio
n
: Simplify
loa
d
Text() w
i
t
h
ne
s
t
e
d
ge
t
WithSetCallback
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schulz
Avoid re
d
undant COMMI
T
calls o
n
page
views
commit
|
commitdiff
|
tree
2016-09-07
Aaro
n
Schulz
R
emove ancient DB_READ/
D
B_WRIT
E
constants
commit
|
commitdiff
|
tree
2016-09-07
Aaron
Schu
l
z
Make adaptive
T
T
L
(
) less strict a
b
ou
t
$mt
i
me type
commit
|
commitdiff
|
tree
2016-09-07
Aaron Sc
h
ul
z
Styl
e
and IDEA warni
n
g clea
n
ups
commit
|
commitdiff
|
tree
2016-09-07
Aaro
n
Sc
h
ulz
R
u
n database-using tests in MyS
Q
L STRICT m
o
de
commit
|
commitdiff
|
tree
2016-09-07
A
aron Sch
u
lz
Ca
c
he
NS_
T
EMPLATE/NS
_
FILE t
i
tles in
L
ink
C
ache
per
s
istently
commit
|
commitdiff
|
tree
2016-09-07
Aaron
S
chulz
objectcache:
add
"
h
otTTR"
a
nd "ageNew" opti
o
ns t
o
getW
i
thSe
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Aaron
Schulz
Replace unu
s
ed
L
oadBalancer::waitTimeout() method with
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
A
a
ron Schulz
Remo
v
e ret
u
r
n
-by-reference PHP4-ism fro
m
g
etE
x
ternalLB()
commit
|
commitdiff
|
tree
2016-09-07
A
a
ron S
c
hulz
Convert
J
o
b
Run
n
e
r
to usin
g
beginM
a
sterCha
n
g
e
s
()
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schulz
F
i
xup
some
r
c_* fiel
d
s if
e
mpt
y
f
o
r STRICT
m
ode in
.
.
.
commit
|
commitdiff
|
tree
2016-09-06
Aa
r
o
n
Schulz
Fix
I
DEA erro
r
s in JobRunner
commit
|
commitdiff
|
tree
2016-09-06
cenarium
Defe
r
publish of recent c
h
ang
e
for log entries
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schulz
Turn off "
r
eportDupes" i
n
Cache
d
BagO
S
tuff
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schulz
Dis
a
llow mi
s
matched beginMasterChanges/co
m
mit
M
ast
e
rChan
g
es
commit
|
commitdiff
|
tree
2016-09-06
Aaron
Schulz
Ad
d
c
aching to T
i
t
l
e::lo
a
dRestriction
s
()
commit
|
commitdiff
|
tree
2016-09-06
Aaron
S
chulz
Ma
k
e
M
ainte
n
ance::
c
om
m
itTransa
c
tio
n
(
)
avoid using deprecate
d
.
.
.
commit
|
commitdiff
|
tree
2016-09-06
Aa
r
on
S
chulz
Change "slave" => "replica DB" in /maintenance
commit
|
commitdiff
|
tree
2016-09-05
Aaron
Sc
h
ulz
Tur
n
off duplicate key
g
ets for R
e
pl
i
cated
B
ag
O
Stuff
commit
|
commitdiff
|
tree
2016-09-05
Aaron S
c
hulz
Change
"slave
"
=> "re
p
lica DB"
i
n
/inc
l
u
des
commit
|
commitdiff
|
tree
2016-09-05
Aaron
Schulz
Ren
a
med
l
o
a
d balancer
r
epl
i
ca DB funct
i
o
n
s for consistency
commit
|
commitdiff
|
tree
2016-09-05
Aaron Schul
z
Re
n
a
m
ed "
s
l
a
ve" internal LB/DB info field to "replica
"
commit
|
commitdiff
|
tree
2016-09-05
Aaron Schul
z
Fix
def
a
u
lt
h
andling i
n
LoadBala
n
cer
:
:g
e
t
R
an
d
omNo
n
Lagg
e
d()
commit
|
commitdiff
|
tree
2016-09-03
umher
i
r
r
ender
Added a
Database::buildStringCast and use on int/string
.
.
.
commit
|
commitdiff
|
tree
2016-09-03
Aaron S
c
hulz
Rename some variables in D
a
tabaseMysqlBa
s
e
commit
|
commitdiff
|
tree
2016-09-03
A
a
ron Schulz
R
emove
un
u
s
e
d
DB position
v
al
u
es in Loa
d
Balanc
e
r
commit
|
commitdiff
|
tree
2016-09-03
Aaron S
c
hulz
R
ename some DB/LB variables t
o
be more
c
onsi
s
tent
commit
|
commitdiff
|
tree
2016-09-03
Aaron Schulz
Fix IDEA error
i
n prepar
e
Q
u
i
c
kTemplate() call
commit
|
commitdiff
|
tree
2016-09-03
T
imo Tijh
o
f
Outp
u
t
Page: Ensure se
t
upSki
n
U
s
erCss() always
applies
.
.
.
commit
|
commitdiff
|
tree
2016-09-03
Aaron
Schulz
Make replication DB-relate
d
comments/messages m
o
re
.
.
.
commit
|
commitdiff
|
tree
2016-09-03
Aaron
S
c
hulz
Make deferred up
d
ates f
u
lly own their transacti
o
n rounds
commit
|
commitdiff
|
tree
2016-09-02
Aaron Schulz
Use WAN cache
adaptiveTTL()
m
e
thod in FileBackendStore
commit
|
commitdiff
|
tree
next