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-16
Aaron Sch
u
lz
Move da
t
abase c
o
nstan
t
s
to their own
f
ile
commit
|
commitdiff
|
tree
2016-09-15
Aa
r
on
S
chulz
A
llow qu
o
tes in $wgDebugComme
n
ts H
T
ML c
o
mments
commit
|
commitdiff
|
tree
2016-09-15
Aaro
n
Schul
z
Dep
e
nde
n
cy inject $wgSharedTables into Dat
a
bas
e
Base
commit
|
commitdiff
|
tree
2016-09-15
A
a
ron Schulz
Fix default "s
r
vCache" B
a
gOStuff in Dat
a
baseB
a
se
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schul
z
Ren
a
me LBFactory =
>
L
B
FactoryMW and
make LB
F
actory
.
.
.
commit
|
commitdiff
|
tree
2016-09-15
A
a
r
o
n
S
c
hu
l
z
Fix
brok
e
n wincache merge() implementat
i
on
commit
|
commitdiff
|
tree
2016-09-15
Aa
r
o
n Schulz
R
e
move global state from Databa
s
eBase:
:
__
c
onstr
u
ct()
commit
|
commitdiff
|
tree
2016-09-15
Aaron Sc
h
ulz
Mov
e
u
pdater/ins
t
aller sp
e
cific methods out
of
D
a
tabas
e
B
a
se
commit
|
commitdiff
|
tree
2016-09-15
Aar
o
n Schulz
R
e
m
ov
e
unused LBFactoryF
a
ke class
commit
|
commitdiff
|
tree
2016-09-15
Aa
r
on Schulz
Avoid MWException a
n
d wf*
log
me
t
hods in
Database
B
ase
commit
|
commitdiff
|
tree
2016-09-15
A
aro
n
Schulz
Move variou
s
DB helper cla
s
ses to
/
libs/rdb
m
s
commit
|
commitdiff
|
tree
2016-09-15
Aaro
n
S
chulz
Mo
v
e
LoadBa
l
ancer to
/libs/rdbms
commit
|
commitdiff
|
tree
2016-09-15
A
a
ron
Schulz
C
hang
e
DatabaseBase => IDatabase in /db where
p
ossible
commit
|
commitdiff
|
tree
2016-09-15
Aaron Sc
h
ulz
C
h
ange $
w
ik
i
=
>
$domain in
LoadBalancer
commit
|
commitdiff
|
tree
2016-09-15
Aaron Sc
h
ulz
Exception clean
u
ps f
o
r LoadBala
n
cer
commit
|
commitdiff
|
tree
2016-09-15
Aaron Schulz
Move DBCon
n
Ref an
d
Chronolog
y
Protecto
r
t
o
/
libs/rd
b
ms
commit
|
commitdiff
|
tree
2016-09-15
Aaron Sc
h
ulz
More
DB
rel
a
ted class
c
leanups to prepare files fo
r
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schu
l
z
Make Wik
i
Page::getRevision()
ma
k
e use of Revisi
o
n:
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schulz
Mo
v
e IDatabase/I
L
oadBala
n
cer
t
o
/
l
ibs/
r
dbms
commit
|
commitdiff
|
tree
2016-09-14
A
aron S
c
hulz
Make Sit
e
StatsUp
d
ate
i
mplement Mergea
b
leUp
d
a
t
e
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schul
z
Fi
x
b
roken selec
t
()
cal
l
i
n rebuildFi
l
eCache
.
php
commit
|
commitdiff
|
tree
2016-09-14
A
a
ron Schulz
Move
D
BError
to /libs/rdb
m
s/e
x
ception
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schul
z
Add MW
E
xceptio
n
Renderer class and decouple
DB
E
rror
commit
|
commitdiff
|
tree
2016-09-14
Aaron Sch
u
lz
M
o
ve Transa
c
tionProfiler
to /lib
s
/rd
b
ms
commit
|
commitdiff
|
tree
2016-09-14
Aaron
S
ch
u
lz
Move L
o
a
dMonitor class
e
s
t
o
libs/rdbms/loa
d
m
onitor
commit
|
commitdiff
|
tree
2016-09-14
Aaron S
c
hu
l
z
Red
u
ce CategoryM
e
mb
e
r
s
hipChang
e
Job lock timeout
commit
|
commitdiff
|
tree
2016-09-14
Aar
o
n Schulz
Replace
s
ome MWExce
p
t
i
o
n
s wi
t
h
natives one
s
in /db
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schu
l
z
Se
t
c
pPosTim
e
c
o
o
kie for the non-redirect ca
s
e as we
l
l
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schulz
Use cpPos
T
ime
co
o
kie fo
r
sa
m
e-
d
omain redi
r
ects on DB
.
.
.
commit
|
commitdiff
|
tree
2016-09-14
Aaron Sch
u
l
z
Add
I
LoadBalancer
i
nt
e
rface
commit
|
commitdiff
|
tree
2016-09-14
Aaron Schulz
C
o
n
vert
LoadB
a
lancer/Database class logging to PSR
commit
|
commitdiff
|
tree
2016-09-13
A
aro
n
Sch
u
lz
V
a
r
i
o
u
s depe
n
dency in
j
e
c
tion c
l
eanups
t
o LoadB
a
l
ancer
commit
|
commitdiff
|
tree
2016-09-13
A
a
ron Schulz
Avoid page_tou
c
hed update for HTTP GE
T
action=purge
.
.
.
commit
|
commitdiff
|
tree
2016-09-13
Aaron Schulz
Ma
k
e D
e
ferredUpdates
call
setTransactionTicket()
o
n
.
.
.
commit
|
commitdiff
|
tree
2016-09-13
Aa
r
on
S
c
h
ulz
Remo
v
e
pointles
s
double exception logging from
JobRunner
commit
|
commitdiff
|
tree
2016-09-13
A
aron Schulz
Make
D
eferredUpd
a
tes::execute() prot
e
cted
commit
|
commitdiff
|
tree
2016-09-13
Aaron
Sch
u
l
z
Reorganize RefreshLink
s
Job c
o
de slight
l
y and avoi
d
.
.
.
commit
|
commitdiff
|
tree
2016-09-13
Aa
r
on
S
c
h
ulz
Simpli
f
y LBFact
o
ry ticket
code in Categ
o
ry
M
em
b
ershipCha
n
geJob
commit
|
commitdiff
|
tree
2016-09-13
Aaron Sc
h
u
lz
Avoid us
i
ng d
e
precated metho
d
s in Job
Q
ue
u
e
DB
commit
|
commitdiff
|
tree
2016-09-13
Aaron
S
c
h
u
lz
Remove pointless ge
t
Transa
c
tionProfiler() meth
o
d
commit
|
commitdiff
|
tree
2016-09-13
Aaron
Schulz
Tweak $
w
g
TrxPro
f
ilerLimits to lower n
o
ise a b
i
t
commit
|
commitdiff
|
tree
2016-09-12
A
aron
S
c
h
u
l
z
Suppo
r
t masking t
h
e WRITE_SY
N
C latency
from ChronologyProt
e
ctor
commit
|
commitdiff
|
tree
2016-09-12
Aaro
n
Schulz
Make L
B
F
actor
y
::wait
F
orReplica
t
ion() mask wait latency
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
A
aron Schu
l
z
Make sure
e
mai
l
s fro
m
R
e
centC
h
a
nge::s
a
v
e() are for
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aaron Sch
u
lz
Make safeW
a
i
t
ForMasterPos() use mWai
t
Timeout instead
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
A
aron Schu
l
z
Avoid cr
e
at
i
ng DB repl
i
cati
o
n lag
in cl
e
a
rAllNotifications()
commit
|
commitdiff
|
tree
2016-09-12
A
a
ron
Schulz
I
m
p
r
o
ve co
m
pat
i
bility checks i
n
WaitCon
d
itio
n
Loop
commit
|
commitdiff
|
tree
2016-09-12
A
a
ron
S
chul
z
Avoid "No tra
n
sa
c
tion
is
a
ctive" s
a
veF
i
leDep
e
nden
c
ies
.
.
.
commit
|
commitdiff
|
tree
2016-09-12
Aa
r
on
Sc
h
ulz
Use memory job queue for unit test
s
commit
|
commitdiff
|
tree
2016-09-12
Aaro
n
Schulz
Avo
i
d
"
Column md_module cannot
b
e
null" error in un
i
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-11
Aaro
n
Schulz
Make P
u
r
g
e
JobUtils avoid
cr
e
a
t
ing DB re
p
licati
o
n
l
a
g
commit
|
commitdiff
|
tree
2016-09-11
A
a
ron Schul
z
Use ESTIMATE_
D
B_
A
P
PL
Y
fo
r
total t
r
ansact
i
on
t
ime estimate
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
Remove useless Lo
a
dBalance
r
::parentInfo
(
)
meth
o
d and
.
.
.
commit
|
commitdiff
|
tree
2016-09-11
Aaron Schulz
Add LBFactory::getChr
o
no
l
ogyProt
e
cto
r
Touched() method
commit
|
commitdiff
|
tree
2016-09-11
Aaron
S
chulz
M
a
k
e WikiPage::doPur
g
e() clear the file cach
e
to
o
commit
|
commitdiff
|
tree
2016-09-11
A
a
ron Sc
h
ulz
Use DB_REPLICA
i
n Contr
i
bsPager
commit
|
commitdiff
|
tree
2016-09-11
Aar
o
n Schu
l
z
S
i
m
plif
y
some L
o
adBalancer me
t
ho
d
s that do iteration
commit
|
commitdiff
|
tree
2016-09-11
Aar
o
n
S
chulz
Reduc
e
WikiPag
e
::get
C
o
n
t
en
t
Model() q
u
eries
v
ia c
a
ching
commit
|
commitdiff
|
tree
2016-09-11
Aaro
n
Schulz
Make JobQu
e
ueGroup::p
u
sh() updat
e
the queuesHaveJob
s
.
.
.
commit
|
commitdiff
|
tree
2016-09-10
Aaron Schu
l
z
Make the pa
g
e JOIN in RevDelR
e
visio
n
Lis
t
ac
t
ually a
p
ply
commit
|
commitdiff
|
tree
2016-09-09
Aaron Schulz
Add more versi
o
n notes
t
o WANObjectCache
commit
|
commitdiff
|
tree
2016-09-09
Aaron Schulz
objectcache:
a
d
d "staleTTL" option to WA
N
O
bjectCach
e
.
.
.
commit
|
commitdiff
|
tree
2016-09-09
Aaron Sc
h
ulz
C
l
eanup and re-i
n
dent
s
o
m
e W
A
NOb
j
ectCache docs
commit
|
commitdiff
|
tree
2016-09-09
Aaron S
c
hulz
Make $
w
gRevisionCacheExpir
y
default to one
w
eek
commit
|
commitdiff
|
tree
2016-09-09
Aaron
S
chulz
Switch
s
ome callers t
o
WaitConditionLoop
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
Pre
l
oad Resourc
e
L
o
aderWikiModule::getTit
l
eInfo in O
u
tputP
a
ge
commit
|
commitdiff
|
tree
2016-09-08
Aaron
Schulz
o
bject
c
ache: expose "minTime" in WAN cache and call
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
A
a
ron
Schulz
o
bje
c
tcache: pass
i
n the
$ol
d
Value as-of time in getWithS
e
tC
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
Fix IDEA warn
i
n
g
s
in CategoryMembershipC
h
angeJob
commit
|
commitdiff
|
tree
2016-09-08
Aar
o
n Schu
l
z
database: rename clearSnap
s
hot() =>
f
lushSnapshot()
commit
|
commitdiff
|
tree
2016-09-08
A
a
ron Schulz
Make sure th
e
lock in
J
obRunner::commitMasterChang
e
s
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
Move PE
C
L memcached class to /
l
ibs
commit
|
commitdiff
|
tree
2016-09-08
A
aron Sch
u
l
z
Only a
p
ply DB_MA
S
TE
R
fallback in Revision
:
:fet
c
hT
e
xt
.
.
.
commit
|
commitdiff
|
tree
2016-09-08
Aaron Schulz
objectcache: Avoid doxygen
misformatt
i
n
g
for pcGroup
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
A
aron Schulz
object
c
a
c
he: add "p
c
G
r
oup" option to WA
N
ObjectCache
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schul
z
Fix ApiS
t
a
s
hEdi
t
IDE
A
warnings
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schulz
A
v
oid r
e
dunda
n
t COMMIT ca
l
ls
o
n page views
commit
|
commitdiff
|
tree
2016-09-07
Aaron
Schulz
Remove
a
ncient
DB_READ/DB_WRITE constants
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schulz
Mak
e
adap
t
i
veTTL() less
s
trict about $
m
time type
commit
|
commitdiff
|
tree
2016-09-07
Aaro
n
Schulz
Style
a
nd IDEA warning cleanups
commit
|
commitdiff
|
tree
2016-09-07
Aa
r
on Schulz
Run data
b
ase-using te
s
ts in
M
ySQL STRICT
mode
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schul
z
C
a
che NS_TEMPLATE/NS_FILE tit
l
es in
L
inkCache persistently
commit
|
commitdiff
|
tree
2016-09-07
Aaro
n
Sch
u
lz
Clari
f
y and update DeferredUpdates docs
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schulz
objectcache: add "hot
T
TR"
a
nd "ageNew" opti
o
ns to g
e
tWithSe
t
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Aaron Sc
h
ulz
Replace unused Loa
d
Ba
l
a
n
c
er::
w
a
i
tTim
e
out(
)
method with
.
.
.
commit
|
commitdiff
|
tree
2016-09-07
Aar
o
n
Sc
h
ulz
Remove return
-
b
y
-re
f
erence PH
P
4-i
s
m from g
e
tExternalLB()
commit
|
commitdiff
|
tree
2016-09-07
Aaron Schulz
Convert JobRu
n
ner to using beg
i
nMasterChanges()
commit
|
commitdiff
|
tree
2016-09-06
A
aron Sc
h
u
l
z
Fix
u
p some rc_* fields if empty
for STRICT mode
i
n
.
.
.
commit
|
commitdiff
|
tree
2016-09-06
Aar
o
n
Schulz
Fix
IDEA erro
r
s in JobRunne
r
commit
|
commitdiff
|
tree
2016-09-06
Aaro
n
S
c
hulz
Tu
r
n o
f
f
"
repo
r
tDupes" in Ca
c
hedBag
O
Stuff
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schulz
Disallow m
i
sma
t
ched beginMaste
r
Changes
/
c
o
mmitMast
e
rCh
a
nges
commit
|
commitdiff
|
tree
2016-09-06
A
aron Schulz
Add caching to Ti
t
l
e
::loadRestrictions()
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schu
l
z
Renamed some var
i
ables fr
o
m "slave"
t
o
"
r
eplica"
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schu
l
z
Mo
r
e replic
a
tion
v
ar cl
e
anu
p
s in
/
mainte
n
ance
commit
|
commitdiff
|
tree
2016-09-06
Aar
o
n Schulz
Rena
m
e DB_SLAV
E
constant to DB_REPL
I
CA
commit
|
commitdiff
|
tree
2016-09-06
Aaron Schulz
Make Maintena
n
ce::commitTransaction
(
) avoid u
s
ing deprecat
e
d
.
.
.
commit
|
commitdiff
|
tree
2016-09-06
A
a
ro
n
Schulz
C
ha
n
ge "slave" => "r
e
p
l
ica DB
"
in /maintena
n
ce
commit
|
commitdiff
|
tree
2016-09-05
Aaron
S
chulz
Tu
r
n off dup
l
icate key gets for
Replicate
d
B
agOS
t
uff
commit
|
commitdiff
|
tree
2016-09-05
A
a
ron Schulz
Change "
s
lave
"
=
> "rep
l
ica DB" in /includes
commit
|
commitdiff
|
tree
2016-09-05
Aaron
S
chul
z
R
e
named lo
a
d balancer
r
eplica D
B
functions f
o
r
consistency
commit
|
commitdiff
|
tree
next