When there were more than 2000 unique contributing users, it was possible for the upgrade script to get stuck in a loop, which is what happened here. I have corrected the issue on your test site, and the upgrade finished within minutes (rather than hours). I am posting the changes as build 002 now.