You might try again. If it happens again, its no fluke.
A google search turns up lots of hits on the problem. I am not sure I recommend messing with the registry.
Try clearing counters (reset election) before your upgrade. If I had to guess, it is the counter table that is failing you.
while upgrading a large database I got the below error and then a database upgrade failed message
is this a bug or just a fluke