February 25th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Feb 25 16:20:02 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl

Log Message:
------------
speed up conversion more. no reason to check existing syncupdates
table, since we use only one field from there, and we already know it.
even if the row didn't exist, we still want the row on the other side.
(case in point: conversion of 'brad' journal didn't create my
syncupdates2 because i'd moved all that data from bradfitz by hand and
forgot my syncupdates, but it should've.)


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.17&r2=1.18

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Feb 25 20:34:55 UTC 2002

Modified Files:
---------------
livejournal/htdocs: create.bml editinfo.bml
Removed Files:
-------------
livejournal/htdocs: editinfo_do.bml

Log Message:
------------
halkeye: merge editinfo/editinfo_do, and make editinfo be community aware


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 livejournal/htdocs/create.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/create.bml.diff?r1=1.20&r2=1.21
cvs rdiff -r1.4 -r1.5 livejournal/htdocs/editinfo.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editinfo.bml.diff?r1=1.4&r2=1.5
cvs rdiff -r1.28 -r0 livejournal/htdocs/editinfo_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editinfo_do.bml.diff?r1=1.28&r2=0

livejournal: yay for closures!

Module Name: livejournal
Committed By: bradfitz
Date: Mon Feb 25 22:47:38 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl

Log Message:
------------
generalizes the buffered reader so it can be used for
talk stuff too. much much faster yet. conversion be flyin' now.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.20&r2=1.21

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Feb 25 22:53:46 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl

Log Message:
------------
another speed-up: avoid even checking for comments to move if we know
already there are none.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.21&r2=1.22

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Feb 25 23:26:00 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl

Log Message:
------------
sort the list explicitly before making the buffered reader.
mysql was giving it to us sorted already, but i hate trusting that.
this makes it obvious that it's correct, and doesn't scare me when
reading the code later.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.22&r2=1.23

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Tue Feb 26 00:20:38 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl

Log Message:
------------
and buffer talkleft writes when possible.
(yes, running out of things to make faster)


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.23&r2=1.24

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Tue Feb 26 04:24:04 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl

Log Message:
------------
since jesus is handling 'slave' role traffic lately, that means it also
serves queries for the oldids table, which is used a ton (ever talk*
page request without a journal arg). however, contention for the oldids
table is the biggest thing slowing down moveucluster.pl (which needs to
frequently insert into this table and retrieve the auto id mysql generates).
this patch lets 'oldids' be a role, which jesus won't serve, but everything
else will.

yay for db roles and dbadmin making this so easy now!


To generate a diff of this commit:
cvs rdiff -r1.166 -r1.167 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.166&r2=1.167