March 8th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 9 02:21:04 UTC 2002

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

Log Message:
------------
two things:

1) remove potential race where two processes could both check if
a user is good to move, then start moving them at same time.

2) speed up the oldid -> newid allocation a ton, by doing it in perl
in the common case without round-trips to the db.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.29&r2=1.30